ZCMD GF
#3

pawn Код:
CMD:cc(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
    {
        new cMsg[128], pName[MAX_PLAYER_NAME];
        for(new c; c < 25; c++)
        {
            SendClientMessage(playerid, COLOR_RED, "    ");
        }
        format(cMsg, sizeof(cMsg), "[Chat]: Admin %s je ocistio chat.", pName);
        SendClientMessage(playerid, COLOR_LIGHTBLUE, cMsg);
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "www.sx-rp.info"); return 1;
    }
    else SendClientMessage(playerid, COLOR_RED, "[ERROR]: Nisi Admin!");
    return 1;
}
Always return 1 when your command ends!
Reply


Messages In This Thread
ZCMD GF - by Aleluja - 27.05.2011, 21:28
Re: ZCMD GF - by Aleluja - 27.05.2011, 22:02
Respuesta: ZCMD GF - by admantis - 27.05.2011, 22:05
Re: ZCMD GF - by Aleluja - 27.05.2011, 22:13
Re: ZCMD GF - by linuxthefish - 27.05.2011, 22:23
Re: ZCMD GF - by Biesmen - 27.05.2011, 22:24
Re: ZCMD GF - by Aleluja - 27.05.2011, 22:26
Re: ZCMD GF - by linuxthefish - 27.05.2011, 22:27
Re: ZCMD GF - by Biesmen - 27.05.2011, 22:27
Re: ZCMD GF - by Aleluja - 27.05.2011, 22:31

Forum Jump:


Users browsing this thread: 4 Guest(s)