SA-MP Forums Archive
Connect/Disconnect thing - 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: Connect/Disconnect thing (/showthread.php?tid=90056)



Connect/Disconnect thing - BP13 - 05.08.2009

how do I make it so it has that Red Computer for disconnecting and the blue one for connecting on the kill list. Please help thanks.


Re: Connect/Disconnect thing - BioShock - 05.08.2009

under onplayerconnect
Код:
SendDeathMessage(INVALID_PLAYER_ID,playerid,200)
under onplayerdisconnect:
Код:
SendDeathMessage(INVALID_PLAYER_ID,playerid,201)