Sending a console command? (Lua)
Discussion in 'Rust Development' started by maksiyshuk, Apr 18, 2016.
-
Wulf Community Admin
If you want to run it on a client:
Code:rust.RunClientCommand(player, "teleport.topos argumentshere")
-
I want another plug the LUA, the player writes a certain command in the chat console command to perform teleport.topos
-
Wulf Community Admin
Okay, the above example should get you started. -
for C# ???
-
Wulf Community Admin
Code:rust.RunClientCommand(player,"teleport.topos argumentshere");
-
C# lua code same ?
-
Wulf Community Admin
No, C# has the ; on the end.
-
a ha thx
and i create quiz plugin
How do you get it right the paid system answers and I want to try again to prevent?
