04.11.2012, 20:39
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;
}