05.08.2009, 15:46
what functions should I use that when a player selects the menu Quit he exits the game (SA-MP)
Thanks,
Thanks,
CallLocalFunction("OnPlayerCommandText", "is", playerid, "/q");
Originally Posted by Don Correlli
Try this:
pawn Код:
|
Originally Posted by > I misread that above quote...
CallLocalFunction is not for commands, it returns public functions/variables from within that instance of the PAWN VM (that particular gamemode). There is no way I know whatsoever of forcing a user to quit.
|