05.08.2016, 12:11
Код:
CMD:f(playerid,params[]) { new tekst [MAX_STRING]; if (sscanf(params, "s[90]", tekst)) SendClientMessage(playerid,0xFF0000AA, "Koristenje: /f [text]"); else{ if( GetPVarInt(playerid,"Lider") == 1) { new string[89]; format(string, sizeof(string), " Lider OrgJedan %s kaze: %s", ImeIgraca(playerid), params[0] ); return PorukaOrgJedan(0xFF0000AA,string); } else { if( GetPVarInt(playerid,"Clan") == 1 ) { new string[89]; format(string, sizeof(string), " Clan OrgJedan %s kaze: %s", ImeIgraca(playerid), params[0] ); return PorukaOrgJedan(0xFF0000AA,string); } else return SendClientMessage(playerid,0xFF0000AA,"Niste clan OrgJedan!");
ERRORS
Код:
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(582) : error 017: undefined symbol "MAX_STRING" C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(582) : error 009: invalid array size (negative, zero or out of bounds) C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(582) : error 036: empty statement C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(582) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.