Local chat color
#1

Код:
public OnPlayerText(playerid, text[])
{ 
    new message[128];

    if(PlayerInfo[playerid][pAdminDuty] == 1)
    {
        format(message, sizeof(message), "%s (( %s ))", GetName(playerid), text);
        ProxDetector(30.0, playerid, message, COLOR_ORANGE);
    }
    else
    {
        format(message, sizeof(message), "%s says: %s", GetName(playerid), text);
        ProxDetector(30.0, playerid, message, -1);
    }
    
    return 1;
}
Why didn't the text change to orange after i went on duty?
Reply


Messages In This Thread
Local chat color - by Mo123 - 27.10.2018, 17:48
Re: Local chat color - by ReD_HunTeR - 27.10.2018, 18:12
Re: Local chat color - by Mo123 - 27.10.2018, 18:29
Re: Local chat color - by ReD_HunTeR - 27.10.2018, 18:55
Re: Local chat color - by Mo123 - 27.10.2018, 20:04
Re: Local chat color - by RogueDrifter - 27.10.2018, 20:07
Re: Local chat color - by Mo123 - 27.10.2018, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)