SetPlayerColor help? - 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: SetPlayerColor help? (
/showthread.php?tid=406104)
SetPlayerColor help? -
James Coral - 09.01.2013
How to i make this function if player will get wanted level they color will just change
If player get 2wanted stars = Yellow
If more then 2 then Red
Re: SetPlayerColor help? -
dr.lozer - 09.01.2013
pawn Код:
if(GetPlayerWantedLevel(playerid) == 2) SetPlayerColor(playerid, Yellow);
else if(GetPlayerWantedLevel(playerid) > 2) SetPlayerColor(playerid, Red);