Warning help.
#1

Before I add this,

pawn Код:
CMD:kick(playerid, params[])
{
    new str[128], id, reason[50], name[MAX_PLAYER_NAME];
    if(gPlayerInfo[playerid][PLAYER_LEVEL] < gCommands[KICK]){
        format(str, 128, "{FF3300}You must be a level %d administrator to use that command!", gCommands[KICK])
        SendClientMessage(playerid, COLOR_ORANGE, str);
        return 1;
    }
    if(sscanf(params, "ds[50]", id, reason)) return SendClientMessage(playerid, COLOR_ORANGE, "{FF3300}USAGE: /kick [playerid] [reason]");
    format(str, 128, "[KICK] You have been kicked [[ %s ]]", reason);
    SendClientMessage(id, 0xFF0000AA, str);
    Kick(id);
    GetPlayerName(id, name, MAX_PLAYER_NAME);
    format(str, 128, "[KICK] %s has been kicked [[ %s ]]", name, reason);
    SendClientMessageToAll(0xFF0000AA, str);
    return 1;
}
I don't get no warnings, but after it, I get this....


Код:
new.pwn(349) : warning 203: symbol is never used: "kick"
What's up?
Reply


Messages In This Thread
Warning help. - by iGetty - 16.06.2011, 20:21
Re : Warning help. - by Shidony - 16.06.2011, 20:23
Re: Re : Warning help. - by iGetty - 16.06.2011, 20:25
Re : Warning help. - by Shidony - 16.06.2011, 20:33
Re: Warning help. - by iGetty - 16.06.2011, 20:36
Re: Warning help. - by Gertin - 16.06.2011, 20:49
Re: Warning help. - by iGetty - 17.06.2011, 07:37
Re: Warning help. - by Skaizo - 17.06.2011, 07:52
Re: Warning help. - by iGetty - 17.06.2011, 07:57
Re: Warning help. - by Skaizo - 17.06.2011, 07:59

Forum Jump:


Users browsing this thread: 1 Guest(s)