pinfo help
#2

pawn Код:
if(pInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, COLOR_RED, "<!>You are not TDM administrator!"); //ERROR LINE
{
    new cmd[256], idx;
    cmd = strtok(cmdtext, idx);
    if(strcmp(cmd, "/kick", true) == 0)
    {
        new tmp[256];
        tmp = strtok(cmdtext, idx);
        if(strlen(tmp) == 0) return SendClientMessage(playerid, COLOR_RED, "<!>Usage: /kick [playerid]");
        Kick(strval(tmp));
        return 1;
    }
}
Reply


Messages In This Thread
pinfo help - by Twinki1993 - 10.07.2012, 21:18
Re : pinfo help - by Ataraxia - 10.07.2012, 21:21
Re: pinfo help - by Twinki1993 - 10.07.2012, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)