SA-MP Forums Archive
help me color player in new team - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help me color player in new team (/showthread.php?tid=449702)



We have the solution by me - khalildz - 09.07.2013

We have the solution by me


Re: help me color player in new team - arjanforgames - 09.07.2013

You used:
pawn Код:
SetPlayerColor
?

For more help about the colors please read this carefully, https://sampwiki.blast.hk/wiki/SetPlayerColor


Re: help me color player in new team - khalildz - 10.07.2013

Yes i do

help me .


Re: help me color player in new team - God'Z War - 10.07.2013

Quote:
Originally Posted by khalildz
Посмотреть сообщение
Yes i do

help me gays
gays? lol


Re: help me color player in new team - arjanforgames - 10.07.2013

Works perfectly fine for me.
Paste your code here.




Re: help me color player in new team - khalildz - 10.07.2013

PHP код:

#define COLOR_PURPLE 0x800080AA
public SetPlayerToTeamColour(playerid)
{
    if(
gTeam[playerid] == TEAM_GROVE)
    {
        
SetPlayerColor(playerid,COLOR_BLUE);
    }
    if(
gTeam[playerid] == TEAM_ARMY)
    {
        
SetPlayerColor(playerid,COLOR_FORESTGREEN);
    }
    if(
gTeam[playerid] == TEAM_NEWTEAM)
    {
        
SetPlayerColor(playerid,COLOR_PURPLE); // HERE THIS COLOR NOT WORK 
    




Re: help me color player in new team - khalildz - 10.07.2013

help me


Re: help me color player in new team - franco2l - 10.07.2013

Try this:
#define COLOR_PURPLE 0x800080FF


Re: help me color player in new team - khalildz - 11.07.2013

not work
Color is still white

help plz


Re: help me color player in new team - DJRebis - 11.07.2013

Try this:
#define COLOR_PURPLE 0xC2A2DAFF
Works for me!