Problem with GetPlayerColor
#3

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

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);
                }          
            }
        }
Reply


Messages In This Thread
Problem with GetPlayerColor - by blackfire49 - 16.09.2012, 20:39
Re: Problem with GetPlayerColor - by Roko_foko - 16.09.2012, 20:42
AW: Problem with GetPlayerColor - by blackfire49 - 16.09.2012, 20:45
Re: Problem with GetPlayerColor - by Roko_foko - 16.09.2012, 20:50
AW: Problem with GetPlayerColor - by blackfire49 - 16.09.2012, 20:55
Re: Problem with GetPlayerColor - by clarencecuzz - 17.09.2012, 06:31

Forum Jump:


Users browsing this thread: 1 Guest(s)