/c (staff chat problem)
#5

Here, sorry for the late reply.
but please help


pawn Код:
CMD:c(playerid, params[]) {
    if((PlayerInfo[playerid][pHelper] >= 2 || PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pDonateRank] >= 5) && advisorchat[playerid]) {
        if(!isnull(params)) {

            new szMessage[128];
            format(szMessage, sizeof(szMessage), "%s %s: %s", ARank(playerid), GetPlayerNameEx(playerid), params);
            SendAdvisorMessage(COLOR_COMBINEDCHAT, szMessage);
            Log("logs/cchat.log", szMessage);
        }
        else SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/c) [staff chat]");
    }
    return 1;
}
Reply


Messages In This Thread
/c (staff chat problem) - by DouglasRamirez - 06.10.2013, 09:53
Re: /c (staff chat problem) - by SilentSoul - 06.10.2013, 09:59
Re: /c (staff chat problem) - by Superhot - 06.10.2013, 10:05
Re: /c (staff chat problem) - by Danialdano - 06.10.2013, 11:29
Re: /c (staff chat problem) - by DouglasRamirez - 07.10.2013, 20:10
Re: /c (staff chat problem) - by EiresJason - 07.10.2013, 20:25
Re: /c (staff chat problem) - by DouglasRamirez - 07.10.2013, 20:33
Re: /c (staff chat problem) - by EiresJason - 07.10.2013, 20:38
Re: /c (staff chat problem) - by DouglasRamirez - 07.10.2013, 20:40
Re: /c (staff chat problem) - by EiresJason - 07.10.2013, 20:41

Forum Jump:


Users browsing this thread: 2 Guest(s)