I'm currently at the very end of rewriting the WarpSystem.. but when i add a timer like in many of my plugins it doesnt work
I get the errorCode:timer.Once(5, () => { if(info.WarpName.ToString().ToLower() == args[1].ToString().ToLower()) { ForcePlayerPos(player, new Vector3(info.WarpX, info.WarpY, info.WarpZ)); SendReply(player, "You have teleported to " + info.WarpName); }});
Check this screenshot!
Any thoughts ?
I also tried converting .ToSingle() ;x
Type "int" does no contain a definition for "Once"
Discussion in 'Rust Development' started by PaiN, Oct 16, 2015.
-
You got a Integer Varibale somewhere in your code called "timer".
Last edited by a moderator: Oct 16, 2015 -
NVM.. i had a variable named timer.
