Leave? - 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: Leave? (
/showthread.php?tid=133774)
Leave? -
ScottCFR - 13.03.2010
How do i make it when someone leaves the server it says either Timeout, Kick/Ban and leave?
Heres what i got
Code:
new name[MAX_PLAYER_NAME + 1],str[128];
GetPlayerName(playerid,name,sizeof name);
format(str,sizeof str,"***%s (id: %d) has joined Drug Run Role Play!",name,playerid);
SendClientMessageToAll(COLOR_GREY,str);
Re: Leave? -
Zimon95 - 13.03.2010
There is an example on sa-mp wiki:
https://sampwiki.blast.hk/wiki/OnPlayerDisconnect
Re: Leave? -
ScottCFR - 13.03.2010
Thanks, BTW i posted my join not the leave LMAO