Error 017 -
enzulikeS - 30.01.2018
D:\server\gamemodes\Untitled.pwn(296) : error 017: undefined symbol "obiecte"
I used pragma unused obiecte, the command is not working on the server.
Line: CMD
biecte(playerid,params)
Entire CMD:
CMD
biecte(playerid,params)
{
new string[56];
format(string,sizeof(string)," Ai {FF0000}%d / %d {FFFFFF}obiecte gasite! Mai ai nevoie de {FF0000}%d {FFFFFF}pentru a obtine premiul!",ObiecteGasiteTotal[playerid],MAX_OBIECTE,MAX_OBIECTE-ObiecteGasiteTotal[playerid]);
SendClientMessage(playerid,-1,string);
return 1;
}
Re: Error 017 -
DarkBr - 30.01.2018
Are you sure zcmd is included? other
and
params[]
Re: Error 017 -
enzulikeS - 30.01.2018
CMD
biecte(playerid, params[])
{
new string[56];
format(string,sizeof(string)," Ai {FF0000}%d / %d {FFFFFF}obiecte gasite! Mai ai nevoie de {FF0000}%d {FFFFFF}pentru a obtine premiul!",ObiecteGasiteTotal[playerid],MAX_OBIECTE,MAX_OBIECTE-ObiecteGasiteTotal[playerid]);
SendClientMessage(playerid,-1,string);
return 1;
}
still the same error
Re: Error 017 -
DarkBr - 30.01.2018
PHP код:
CMD:biecte(playerid, params[])
{
new string[56];
format(string,sizeof(string)," Ai {FF0000}%d / %d {FFFFFF}obiecte gasite! Mai ai nevoie de {FF0000}%d {FFFFFF}pentru a obtine premiul!",ObiecteGasiteTotal[playerid],MAX_OBIECTE,MAX_OBIECTE-ObiecteGasiteTotal[playerid]);
SendClientMessage(playerid,-1,string);
return 1;
}
Re: Error 017 -
enzulikeS - 30.01.2018
Quote:
Originally Posted by DarkBr
PHP код:
CMD:biecte(playerid, params[])
{
new string[56];
format(string,sizeof(string)," Ai {FF0000}%d / %d {FFFFFF}obiecte gasite! Mai ai nevoie de {FF0000}%d {FFFFFF}pentru a obtine premiul!",ObiecteGasiteTotal[playerid],MAX_OBIECTE,MAX_OBIECTE-ObiecteGasiteTotal[playerid]);
SendClientMessage(playerid,-1,string);
return 1;
}
|
added this but same error...
D:\server\gamemodes\Untitled.pwn(296) : warning 203: symbol is never used: "obiecte"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Re: Error 017 -
DarkBr - 30.01.2018
Are you sure zcmd is included ??
Re: Error 017 -
enzulikeS - 30.01.2018
forgot to add zcmd and sscanf at #include, fixed and sorry