/robbank ?
#3

pawn Код:
new RCash[1] =
{
    {1000000},
    {100000},
    {149401},
    {197048},
    {120938},
    {9487401},
    {129308213}
};

CMD:robbank(playerid, params[])
{
SetTimer"BankRobbed", 1000,false);
SendClientMessageToAll(-1,"Los Santos is being robbed");
return 1;
}

forward BankRobbed(playerid);

public BankRobbed(playerid)
{
new rand = random(sizeof(RCash));
GivePlayerMoney(playerid, rand);
return 1;
}
i tried something hope it worked
Reply


Messages In This Thread
/robbank ? - by CameronNSRP - 04.11.2012, 20:28
Re: /robbank ? - by zDivine - 04.11.2012, 20:33
Re: /robbank ? - by Glad2BeHere - 04.11.2012, 20:39
Re: /robbank ? - by zDivine - 04.11.2012, 20:43
Re: /robbank ? - by Glad2BeHere - 04.11.2012, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)