A friend got it to work. Thx.
Solved Spawning a car?
Discussion in 'Rust Discussion' started by Togoshige, Sep 21, 2017.
-
I saw this was answered early on, but I did a recent detailed write up on this very topic, answering who can spawn, what the command is, and how. There's also a FAQ section at the bottom as there's a lot of questions around cars in RUST since the patch came out. Check it out below:
RUST Sedan Command
Cheers. -
ownerid 762389554445544 User1234
-OR-
moderatorid <Your Steam64ID> <Your Name>
moderatorid 762389554445544 User1234
and then
server.writecfg
and finally
spawn sedan -
How would a kit be added?
-
how to create a machine on the coordinates of the player, through the server console?
e.g. steamid -
Hi, how i Spawn a Sedan at a Location?
I type in the RustAdmin console
spawn sedan 103.3932 20.75325 647.334
and this is the output
spawned sedantest.entity[738752] at (0.0, 0.0, 0.0)
how i have to write the coords? -
Failed to call hook 'OnUseNPC' on plugin 'GUIShop v1.4.2' (NullReferenceException: Object reference not set to an instance of an object)
Code:(17:52:52) | at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullPaint, Boolean refreshMoney) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.OnUseNPC (.BasePlayer npc, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Oct 4, 2017 -
@MorningBOBO
You cannot just copy-paste it.Instead of his NPC ID, you have to add the ID of your own NPC.He even added a line where it says "change to your shop ID".