23.08.2016, 14:52
I have problem when i rob bank cash is going to another player not me who rob
Код:
public RobTime(playerid)
{
new string[128];
new cash = random(100000);
GivePlayerMoney(playerid, cash);
gPlayerRobbing[playerid] = false;
KillTimer(general_timer);
format(string, sizeof(string), "You have successfully robbed $%d from the bank!", cash);
SendClientMessage(playerid, red, string);
}


