Hi. I know that you can create items with GameManager.server.CreateEntity("prefab", position), but can you also delete a prefab from specific location? Thanks.![]()
Solved Deleting specific item from specific location?
Discussion in 'Rust Development' started by jackcat, Mar 16, 2018.
-
Solved.
-
Mark your thread as solved instead of writing it
-
-
And tell us how you have solved that
-
I used for example:
Code:timer.Repeat(3600,0, () => { var cratetospawn = GameManager.server.CreateEntity("assets/bundled/prefabs/radtown/crate_basic.prefab", 2000,10,2000); cratetospawn.Spawn();timer.Once(3600, () => { cratetospawn.Kill(); }); });