07.03.2013, 17:24
Quote:
error 001: expected token: ";", but found "if" = posta a linha 103 ae...
warning 217: loose indentation = vc alinhou errado warning 217: loose indentation = vc alinhou errado warning 217: loose indentation = vc alinhou errado error 029: invalid expression, assumed zero= posta a linha 108 ai...[/pawn] |
pawn Код:
100 public OnBanResponse(index, response_code, data[])
101 {
102 new string[256];
103 if(response_code == 200)
104 if(strcmp(data, "Success?Ban added", true)) printf("[SAMP-BANS]: Error, API responded with: %s", data);
105 else SendClientMessage(index, 0xFFFFFF, "The ban was added");
106 format(string, sizeof(string),"O jogador %s foi banido do servidor!");
107 SendClientMessageToAll(COLOR_RED, string);
108 }