SA-MP Forums Archive
Quit function - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Quit function (/showthread.php?tid=411256)



Quit function - DiGiTaL_AnGeL - 28.01.2013

Who knows the function used in the "/quit" cmd?(the one that closes GTA)


Re: Quit function - Kirollos - 28.01.2013

Theres none in scripting i believe.


Re: Quit function - James Coral - 28.01.2013

pawn Код:
Kick(playerid);
fast


Re: Quit function - DiGiTaL_AnGeL - 28.01.2013

Quote:
Originally Posted by kirollos
Посмотреть сообщение
Theres none in scripting i believe.
This answer really doesn't help me. I want for the rp gm i'm coding at the moment, I have a great idea(i won't tell you :P).
So, if someone knows how to do that, tell me. Or Kalcor, show me the cmd. =))

Edit:

Quote:
Originally Posted by James Coral
Посмотреть сообщение
pawn Код:
Kick(playerid);
fast
This only log the player out of the player, it doesn't closes GTA SA:MP too.