03.02.2016, 14:19
who can help me ?
i want to make this script like when the admin is /aduty , when he want to talk in /b chat the name is green colour.
who can help me ??
sorry for eng
i want to make this script like when the admin is /aduty , when he want to talk in /b chat the name is green colour.
Код:
CMD:b(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] == 1)
{
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 { format(string, sizeof(string), "%s says: (( %s ))", GetPlayerNameEx(playerid), params); }
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
return 1;
}
sorry for eng

