16.06.2015, 21:14
Well when people commit crimes, their wanted level goes up of course, but the problem is, I don't want their wanted level to be 12, 17, 25, 43 etc... I want it to stop at Wanted Level 6 as the maximum. How would I do it?
Say I was wanted level 5, stole a cop car which is worth 4 stars (wanted level 4). This would give me wanted level 9, BUT, I want it to stop at wanted level 6 and say Wanted Level 6 - Most Wanted, not Wanted Level 9 blabla...
Any ideas?
I have tired.
Say I was wanted level 5, stole a cop car which is worth 4 stars (wanted level 4). This would give me wanted level 9, BUT, I want it to stop at wanted level 6 and say Wanted Level 6 - Most Wanted, not Wanted Level 9 blabla...
Any ideas?
I have tired.
PHP код:
if(GetPlayerWantedLevel(playerid) >= 6) return SetPlayerWantedLevel(playerid,6);