30.01.2018, 16:05
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: CMDbiecte(playerid,params)
Entire CMD:
CMDbiecte(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;
}
I used pragma unused obiecte, the command is not working on the server.
Line: CMDbiecte(playerid,params)
Entire CMD:
CMDbiecte(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;
}