COMMAND ERROR
#1

pawn Код:
CMD:kick(playerid,params[])
{
    new id [MAX_PLAYER_NAME],id1 [MAX_PLAYER_NAME], message;
    if(PInfo[playerid][Level] >= L_Kick)
    {
        if(sscanf(params, "us",id,message)) return SendClientMessage(playerid, 0xFF0000FF, "[System] /kick [id] [reason]");
        SendClientMessageToAll(0xFF0000FF, "{FF0000}|- {FF0000}%s Has Been Kick By Administrator %s | Reason: %s {FF0000}-|", id, id1, message);
        Kick(id);
    }
    return 1;
}
pawn Код:
C:\Users\carlo\Desktop\SA-MP Server\trucking\filterscripts\admin.pwn(112) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\trucking\filterscripts\admin.pwn(112) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\trucking\filterscripts\admin.pwn(112) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\trucking\filterscripts\admin.pwn(113) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
COMMAND ERROR - by Windrush - 24.11.2012, 17:51
Re: COMMAND ERROR - by ViniBorn - 24.11.2012, 18:08

Forum Jump:


Users browsing this thread: 1 Guest(s)