Ulysses
General => Developers Corner => Topic started by: Chironex on September 20, 2007, 05:04:36 PM
-
Sorry - problem solved by myself :D
* will try better before posting, next time *
But still, one question: how to kick the LocalPlayer ? I tried:
LocalPlayer():Kick()
But apparently there is no Kick() function :)
Should i do a LocalPlayer():ConCommand or is there an easier way ?
-
LocalPlayer():ConCommand( "disconnect\n" )
-
Ah, right, thanks!
I was doing button2.DoClick = function() LocalPlayer():ConCommand( "kickid2 ".. LocalPlayer():UserID().. "\n" ) end
but i don't think it will work if players doesn't have access to the kickid2 command :)
Thanks again