Posts: 1,274
Threads: 54
Joined: Jul 2012
Quote:
Originally Posted by xkirill
Replace 3 lines,before the error line and after,and delete the number(4) as it makes no sense,like this -
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) );
EDIT: seems like you've defined it with SendClientMessageToAll,if it is.
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);
|
Disappointly, it didn't work nor fix my issue.