ooc chat admin aduty green chat
#4

pawn Код:
CMD:b(playerid, params[])
{
    if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "Perdorimi: /b [local ooc chat]");
    if(AntiAdv(playerid, params)) return 1;
    new string[128];
    if(PlayerInfo[playerid][pMask] == 1) { format(string,sizeof(string), "Stranger says: (( %s ))", params); }
    else if(PlayerInfo[playerid][pAdmin] == 1) { format(string, sizeof(string), "{33AA33}%s says: (( %s ))", GetPlayerNameEx(playerid), params); }
    else { format(string, sizeof(string), "%s says: (( %s ))", GetPlayerNameEx(playerid), params); }
    ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5);
    return 1;
}

Why did you pasted it up there? and check this link about Color embedding

https://sampwiki.blast.hk/wiki/Colors_Li...olor_embedding
Reply


Messages In This Thread
ooc chat admin aduty green chat - by Rafaeloo - 03.02.2016, 14:19
Re: ooc chat admin aduty green chat - by ikey07 - 03.02.2016, 14:23
Re: ooc chat admin aduty green chat - by Rafaeloo - 03.02.2016, 14:28
Re: ooc chat admin aduty green chat - by ikey07 - 03.02.2016, 14:32
Re: ooc chat admin aduty green chat - by Rafaeloo - 03.02.2016, 14:40
Re: ooc chat admin aduty green chat - by Rafaeloo - 03.02.2016, 14:46
Re: ooc chat admin aduty green chat - by ikey07 - 03.02.2016, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)