Rust
onisahkku Sep 25, 2017 @ 1:20pm
How to use "spawn" command
Hi !

Is there a way to use the “spawn” command like we used the “entity.create” command ?
When i type “spawn blabla”, it spawns at coords 0, 0, 0. I would like to spawn on me like the old command did…

Thanks for helping !

Edit : It seems to be a Linux issue. No problem when hosted on Windows, on same host...
Last edited by onisahkku; Nov 29, 2017 @ 9:43am
< >
Showing 1-12 of 12 comments
DarthMenno Sep 25, 2017 @ 1:29pm 
entity.spawnitem whateveryouwant
onisahkku Sep 25, 2017 @ 1:34pm 
When I do this, i have this :
spawned recycler_static at (0,0, 0,0, 0,0)
i would like to choose where it spawns...
EagleClaws17 Sep 25, 2017 @ 1:44pm 
Originally posted by onisahkku:
When I do this, i have this :
spawned recycler_static at (0,0, 0,0, 0,0)
i would like to choose where it spawns...
I think typing in the coordinates should give help you, but idk the command that gives you your own position
onisahkku Sep 25, 2017 @ 1:46pm 
The command debug.printpos get me my position, but if I type
entity.spawn recycler_static 51,0, 37,4, 50,0
or
entity.spawn recycler_static (51,0, 37,4, 50,0)
or
entity.spawn recycler_static "51,0, 37,4, 50,0"
it keeps spawning at 0,0, 0,0, 0,0...

ArtiIOMI Nov 28, 2017 @ 1:45pm 
I have the same problem, do you solved it?
Last edited by ArtiIOMI; Nov 28, 2017 @ 1:46pm
onisahkku Nov 29, 2017 @ 9:42am 
I didn't. Is your server hosted on Linux ? I tried to run a server on windows, on the same host but different VM, and spawn command works well...
Lipe3BrokeN Jul 30, 2018 @ 6:37pm 
Hello, I use windows and I have this problem, do you have any solution? Ty
onisahkku Jul 31, 2018 @ 3:05pm 
I had to use a modded server(Oxide) to be able to spawn whatever i want wherever i look :/
xX_DeaD_EyE_Xx Sep 7, 2019 @ 1:51am 
This is a VERY late reply to this topic. But I also wanted to spawn entities through console as specific coords. Such as the new Scrap Heli.
Well, its all been figured out!

entity.spawn scraptransporthelicopter "1.1, 2.2, 3.3"

OK, so there needs to be a comma between the XYZ coords, and a dot as the decimal separator.

AND BAM! You're welcome...
Last edited by xX_DeaD_EyE_Xx; Sep 7, 2019 @ 1:52am
Kozak Jan 30, 2021 @ 9:00pm 
you can leave out the coords to spawn on your location
Acid_Piss Jan 1, 2024 @ 8:49pm 
Originally posted by Kozak:
you can leave out the coords to spawn on your location

As he said above, if you don't use coords, it ALWAYS spawns at 0,0,0
P4PP4L4RS Mar 20, 2024 @ 10:37am 
I just wrote printpos to get my position. Then took a step back.
Then like this spawn recycler (219,16,-319)
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Sep 25, 2017 @ 1:20pm
Posts: 12