SA-MP Forums Archive
Error while compiling - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Error while compiling (/showthread.php?tid=614169)



Error while compiling - Dejan12345 - 05.08.2016

Код:
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.
help


Re: Error while compiling - Shinja - 05.08.2016

Wrong section, but
Quote:

new tekst [90];