Random Money!
#1

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?

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); 
And after player goto checkpoint

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(imrand); 
Reply


Messages In This Thread
Random Money! - by Thanks - 02.02.2018, 09:05
Re: Random Money! - by issac - 02.02.2018, 09:17
Re: Random Money! - by Mugala - 02.02.2018, 10:02
Re: Random Money! - by jasperschellekens - 02.02.2018, 10:32

Forum Jump:


Users browsing this thread: 1 Guest(s)