12.09.2010, 11:04
Even simpler with the modulus operator:
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.
pawn Код:
if((playerskilled[killerid] % 5) == 0)
{
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1);
}
It probably won't affect the player, and if it does you can simply make a check for it.

