Colors
#1

How do i change The Normal chat color If u press t
Reply
#2

Simply just add it onto OnPlayerText, make it send the message in a players color using GetPlayerColor and formatting a string.

Example:
pawn Код:
new textmsg[128], name[MAX_PLAYER_NAME], color;
            color = GetPlayerColor(playerid);
            GetPlayerName(playerid, name, sizeof(name));
            format(textmsg, sizeof(textmsg), " %s: %s", name, text);
            SendClientMessageToAll(color, textmsg);
Reply
#3

I mean when you basicly write to someone and they see it only when u next to him I guess i was wrong , im using raven rp maybe u can help me now
Reply
#4

You can see if IsPlayerInRangeOfPoint of the person talking, that seems the best way, I don't do RP, so I can't be certain.
Reply
#5

Ill ask Hellman Thanks anyway
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)