dcmd_acmds PROBLEM (+REP)
#1

Hey i have problems with

code:

pawn Код:
dcmd_acmds(playerid, params[])
{
if(gPlayerInfo[playerid][PLAYER_LEVEL] < gCommands[ACMDS])
{
new string[128];
format(string, sizeof(string), "You must be a level %d administrator to use that command!", gCommands[ACMDS]);
SendClientMessage(playerid, COLOR_ORANGE, string);
}
else
{
SendClientMessage(playerid, COLOR_ORANGE, "ADMIN COMMANDS: /kick,/ban");
}
return 1;
}
Error:
Код:
C:\Users\eesti\Desktop\test1\COD\filterscripts\Admin.pwn(496) : warning 203: symbol is never used: "params"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Its Compliting But /acmds dont work!
Reply


Messages In This Thread
dcmd_acmds PROBLEM (+REP) - by James Coral - 05.01.2012, 12:17
Re: dcmd_acmds PROBLEM (+REP) - by Konstantinos - 05.01.2012, 12:22
Re: dcmd_acmds PROBLEM (+REP) - by James Coral - 05.01.2012, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)