203: symbol is never used: "symbol" - 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: 203: symbol is never used: "symbol" (
/showthread.php?tid=602408)
203: symbol is never used: "symbol" -
TheBoZ - 06.03.2016
Код:
dcmd_admins(playerid, params[])
{
#pragma unused params
new string[128];
if(IsPlayerConnected(playerid))
{
for (new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(pInfo[i][pAdminlevel] > 0 || pInfo[i][perfect] == 1)
{
GetPlayerName(i , sendername, sizeof(sendername));
format(string, sizeof(string),"%sLevel %d: %s\n", string, pInfo[i][level], sendername);
}
}
}
ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,".::The Admins::.",string,"Okay","");
}
return 1;
}
Error:
C:\Users\Nelson.Paulo2301-PC\Desktop\CnRR.pwn(440) : warning 203: symbol is never used: "dcmd_admins"
Re: 203: symbol is never used: "symbol" -
Joron - 06.03.2016
At the top of your script u got that?
Re: 203: symbol is never used: "symbol" -
YouServ - 06.03.2016
Because include dcmd require to are called in others callbacks.
Use zcmd, is better