Onplayertext problem.
#1

I made onplayer text to show a guys message with id and VIP or not vip, and it sends the msg to all but the msg is all in white, i want my name to be color that i have on TAB? How to do it?
Reply
#2

Use GetPlayerColor.
https://sampwiki.blast.hk/wiki/GetPlayerColor
Reply
#3

example code please?
Reply
#4

pawn Код:
new string[256];
format(string,sizeof(string),"%s",GetPName(playerid));
SendClientMessageToAll(GetPlayerColor(playerid),string);
Untested
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)