02.02.2018, 09:05
Hi I've adding a random money after someone robbing something else. but Random money is worked but.. After the robbing finished they told you Example: You have collect $450000 You must go to checkpoint to completed this robbery. After the player goto to Checkpoint they are not given him $450000 they give him any Random money why?
And after player goto checkpoint
PHP код:
new mrand =random(200000);
format(string,sizeof(string),"{FFD700}%s(%d) {FFFFFF}has stolen Casino Chips worth {33FF33}$%d {FFFFFF}from {EDED05}Four Dragon Casino{FFFFFF}.",pName,i,mrand);
PHP код:
new mrand =random(200000);
format(string,sizeof(string),"[FourDragonCasino Robbery]: %s(%d) has stolen {33FF33}$%d {E87400}split stolen from the FourDragon Casino.",pName,i,mrand);
SendClientMessageToAll(COLOR_ORANGE,string);
GivePlayerMoney(i, mrand);