Close game
#1

In general, try to make the automatic closing of the game the player server, tried to do so
Code
OnPlayerCommandText (playerid, "/ quit");

But do not get: D
tried every way to cause a crash the game the player is not an existing object, but kye forbade it> _ <...
Generally looking for any way to close the game player


p.s. Sorry for my bad English
Reply
#2

You can't close the players game by using the "/quit" or "/q" commands because those commands are client-side only. SA:MP 0.3 is the most stable version yet, so creating invalid object like in 0.2 version won't crash the player.

I think there are some ways to crash the player, search around - this was discussed.
Reply
#3

i know why i not close game use OnPlayerCommandText(playerid,"/quit"); this i say just
maybe create 2.000.000 million objects ? for one player xD ...
Reply
#4

or uh GameTextForPlayer(playerid, "~r~~You have been crashed.", 2000, 3);
Reply
#5

OnPlayerCommandText /quit
KickPlayer(playerid);
Simple
Reply
#6

Quote:
Originally Posted by DJDhan
OnPlayerCommandText /quit
KickPlayer(playerid);
Simple
Quote:
Originally Posted by Don Correlli
You can't close the players game by using the "/quit" or "/q" commands because those commands are client-side only.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)