That only works if you have a Player variable. Player class is not global, server is.
var target = Server.FindPlayer(args[0]);
if (target != null) {
// Do something here if we found the player
}
Should work
The global classes in a plugin are...
Holy shit. That error checking was added for safety measures, when I added the rust method in fougerite instead. That error should never ever trigger.
Or atleast maybe. It means it failed to send a message to an object.
I don't exactly know. Here is something I do know though:
Anything that...
What ya mean?
There is on teleporting and on player move event, however player move event for that can cause a big lagg on rust. Well. Especially if you have 30+ players
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.