21.04.2013, 19:34
LINE:3321
Error:
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { (3321)if(!success) return SendClientMessage(playerid, CRVENA, "{F81414}(INFO) {F81411}Bla bla bla bla bla!") new ime[MAX_PLAYER_NAME]; ImeIgraca(playerid, ime); format(CmdString, sizeof(CmdString), "%s | Naredba: %s", ime, cmdtext); UpisiLog(FAJL_NEULOGOVANLOG, CmdString); return 1; }
Код:
warning 215: expression has no effect error 001: expected token: ";", but found "return" error 001: expected token: ";", but found "new"
Код:
if(!success) return SendClientMessage(playerid, CRVENA, "(INFO) Bla bla bla bla bla!"); <-no error