SA-MP Forums Archive
Script location - 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: Script location (/showthread.php?tid=465735)



Script location - AnonScripter - 23.09.2013

on what callback should i put these scripts ?

pawn Код:
new wantedlvl;
    wantedlvl = GetPlayerWantedLevel(playerid);
    if(wantedlvl >= 4) return SetPlayerColor(playerid, COLOR_ORANGE);



Re: Script location - jakejohnsonusa - 23.09.2013

Maybe OnPlayerUpdate?


Re: Script location - Bailews - 23.09.2013

To OnPlayerUpdate callback.


Re: Script location - AnonScripter - 23.09.2013

thank you