SA-MP Forums Archive
disconnect message - 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: disconnect message (/showthread.php?tid=317788)



disconnect message - [XS]Scarface - 12.02.2012

hey guys how to make a disconnect message in death box like 2 red screens?
for connecting :
pawn Код:
SendDeathMessage(INVALID_PLAYER_ID, playerid, 200);
for the disconnect to make it red what do i type? please help!


Re: disconnect message - 2KY - 12.02.2012

OnPlayerDisconnect:

pawn Код:
SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
Just change 200 (Connect) to 201 (Disconnect)


Re: disconnect message - [XS]Scarface - 12.02.2012

thanks a looot
rep++


Re: disconnect message - tyler12 - 12.02.2012

Quote:
Originally Posted by [XS]Scarface
Посмотреть сообщение
thanks a looot
rep++
u cant rep LOL


Re: disconnect message - [XS]Scarface - 12.02.2012

Lol i discovered that wheni tried xD anw let us stay on topic