203: symbol is never used: "symbol"
#1

Код:
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"
Reply
#2

Quote:
#Include <dcmd>
At the top of your script u got that?
Reply
#3

Because include dcmd require to are called in others callbacks.

Use zcmd, is better
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)