Disconnect with reason. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Disconnect with reason. (
/showthread.php?tid=209796)
Disconnect with reason. -
GaB1TzZzu - 11.01.2011
I have a function OnPlayerDisconnect(playerid) and not (playerid, reason)..
How can i do when you get crashed to show:
%s (TimeOut)
When you /q:
%s (Quit) ... etc.
Re: Disconnect with reason. -
JaTochNietDan - 11.01.2011
OnPlayerDisconnect requires the reason parameter, if you don't have it there already then add it. Then simply read the example on the Wiki to see the reasons and what they mean.
Re: Disconnect with reason. -
GaB1TzZzu - 11.01.2011
Resolved.
I need help here: https://sampforum.blast.hk/showthread.php?tid=209793