23.07.2012, 23:24
Replace 3 lines,before the error line and after,and delete the number(4) as it makes no sense,like this -
EDIT: seems like you've defined it with SendClientMessageToAll,if it is.
than here -
pawn Код:
format(string, 256, "You have started the robbery, you must stay inside the bank for %d minutes.", BANK_JOB_TIME);
ABroadCast( COLOR_YELLOW, string);
ABroadCast( COLOR_YELLOW, "{AA3333}AdmWarning{FFFF00}: %s has possibly started robbing the bank without permission.", GetPlayerNameEx(playerid) );
than here -
pawn Код:
new string[128],string2[128];
new giveplayerid;
format(string, sizeof(string2), "You have started the robbery, you must stay inside the bank for %d minutes.", BANK_JOB_TIME);
ABroadCast( COLOR_YELLOW, string);
format(string2,sizeof(string2),"{AA3333}AdmWarning{FFFF00}: %s has possibly started robbing the bank without permission.",GetPlayerNameEx(playerid));
ABroadCast( COLOR_YELLOW, string2);