17.05.2015, 09:22
Quote:
You could also do something like:
Код:
new cash = random(40-100); GivePlayerMoney(playerid, cash); |
and yes how do i make it that random money comes between 8000 and 40000 when a player enters a check point?
i also want while doing a job delivery pickup you get random amount of materials loaded between 0(yes 0 also) and 15?
(I am making a trucking delivery job so when a player enters first CP he gets rand mats and then 2nd cp upto 4 and at last when he enters last cp he gets rand money as i stated above and rand mats to player file between 500 and 3000 ||| after that total mats also added to mats bank(the total mats that collects[rand mats] in job x 1000 mats get added) so that when players come in mats bank to buy mats the have some limits.. if some mats get left (ie unpurchased by players) then it wil also be saved.)
Thanks if you can solve me! i will REP+ you with real respect.