19.10.2016, 12:05
How can i make a random money when player enter checkpoint . i want it random from 5000$ - 7500$
new themoney = random(5000 - 7500) + 1000; GivePlayerMoney(playerid, themoney);
Код:
new themoney = random(5000 - 7500) + 1000; GivePlayerMoney(playerid, themoney); |
Код:
new themoney = random(5000 - 7500) + 1000; GivePlayerMoney(playerid, themoney); |
RandomEx(min, max) return random(max - min) + min;
GivePlayerMoney(playerid, RandomEx(5000, 7500 + 1));