16.09.2012, 20:45
I have this Code from the Wiki in my Script but it is black and no i dont Use SetPlayerColor
Here The Part of my Script where i need to set the string color
Here The Part of my Script where i need to set the string color
pawn Код:
if(ChatChannel[pID] == 1)
{
if(ChatChannel[pID] == ChatChannel[playerid])
{
new Float:Chat_RadiusX,Float:Chat_RadiusY,Float:Chat_RadiusZ;
format(string,sizeof(string),"%s: {FFFFFF}%s",name,text);
GetPlayerPos(pID,Chat_RadiusX,Chat_RadiusY,Chat_RadiusZ);
if(IsPlayerInRangeOfPoint(pID,7.0,Chat_RadiusX,Chat_RadiusY,Chat_RadiusZ))
{
SendClientMessage(pID,GetPlayerColor(playerid),string);
}
}
}