Wanted level system??
#4

Even simpler with the modulus operator:

pawn Код:
if((playerskilled[killerid] % 5) == 0)
{
    SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1);
}
Notice: This can get past level 6 eventually.
It probably won't affect the player, and if it does you can simply make a check for it.
Reply


Messages In This Thread
Wanted level system?? - by Face9000 - 12.09.2010, 10:23
Re: Wanted level system?? - by LifeStyle - 12.09.2010, 10:30
Re: Wanted level system?? - by LarzI - 12.09.2010, 10:37
Re: Wanted level system?? - by Vince - 12.09.2010, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)