Command not working :P
#5

try this
pawn Код:
command(kill, playerid, params[])
{
     new PID;
    if(PlayerInfo[playerid][pAdmin] < 4) return return SCM(playerid, COLOR_RED, "You are not authorized to use this command");
    if(sscanf(params, "u", PID)) return SendClientMessage(playerid, COLOR, "/kill  [ playerid / Name ]");
    return SetPlayerHealth(PID, 0);
}
Reply


Messages In This Thread
Command not working :P - by San1 - 22.06.2013, 10:14
Re: Command not working :P - by Sulps - 22.06.2013, 10:20
Re: Command not working :P - by San1 - 22.06.2013, 10:23
Re: Command not working :P - by CaRa - 22.06.2013, 10:36
Re: Command not working :P - by Sulps - 22.06.2013, 10:36

Forum Jump:


Users browsing this thread: 1 Guest(s)