Disconnect with reason.
#1

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.

Reply
#2

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.
Reply
#3

Resolved.

I need help here: https://sampforum.blast.hk/showthread.php?tid=209793
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)