Name color change after death. - 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: Name color change after death. (
/showthread.php?tid=152623)
Name color change after death. -
Ozwell_Spencer - 05.06.2010
I am working on a zombie outbreak script, and I want the players name color to change to orange after death, and a message saying "You are now a zombie!", can I get some help?
Re: Name color change after death. -
coole210 - 05.06.2010
OnPlayerDeath:
Код:
SetPlayerColor(playerid,COLOR_ORANGE);
Code of life.
Re: Name color change after death. -
Ozwell_Spencer - 05.06.2010
Cool, I am new, what is the color code for orange?
Re: Name color change after death. -
Antonio [G-RP] - 05.06.2010
under 'OnPlayerDeath'
pawn Код:
SetPlayerColor(playerid, 0xFF8000AA);
SendClientMessage(playerid, 0xFFFFFFAA, "You have turned into a Zombie!");