Wanted Level 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: Wanted Level Help (
/showthread.php?tid=582277)
Wanted Level Help -
MaxJohnson - 19.07.2015
in my server it has unlimited wanted level yesterday i robbed a lots of places and i did /wanted it showed i had 76 wanted levels how can i limit the wanted levels to only 6 ?
Re: Wanted Level Help -
Darkwood17 - 19.07.2015
Add this under OnPlayerUpdate callback:
Код:
if (GetPlayerWantedLevel(playerid) > 6) SetPlayerWantedLevel(playerid, 6);
AW: Wanted Level Help -
BigBrainAFK - 19.07.2015
you could also check if the player already has max wanteds when he robbes a store
Re: Wanted Level Help -
MaxJohnson - 19.07.2015
Quote:
Originally Posted by Darkwood17
Add this under OnPlayerUpdate callback:
Код:
if (GetPlayerWantedLevel(playerid) > 6) SetPlayerWantedLevel(playerid, 6);
|
Thank you soooo much now it fixed thanks a lot