[HELP] Bonus System for Cops who arrested Criminal
#7

Quote:
Originally Posted by Vince
Посмотреть сообщение
You should write a mathematical function to calculate a bonus based on the player's own level and the criminal's wanted level. Something like:

pawn Код:
new bonus = playerlevel * 100 + criminalwantedlevel * 100 + random(100);
This is a really simple example, but it should give you an idea of what to look for. It doesn't seem fair to others if it's totally random.
This. You can always use the function I posted like
pawn Код:
GivePlayerMoney(playerid,
random_e(1200, 1500));
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)