SA-MP Forums Archive
Tab Color - 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: Tab Color (/showthread.php?tid=520865)



Tab Color - michaeli - 20.06.2014

When a player joins the game their tab color is white and its the same in main chat. I have tried to add SetPlayerColor.
The problem is that when a player /oskins to their faction skin, their tab color/mainchat color, doesnt change to the set organisation/faction color. When i remove the SetPlayerColor, oskin is fine

i need guidence please


Re: Tab Color - Clad - 20.06.2014

In the command /oskins try to add SetPlayerColor, I don't think that will make any problemes.
And about player join the server, I think it's always like that before he logs in.


Re: Tab Color - iOxide - 20.06.2014

I guess you need to define the white color that you used when they join the server. Adding SetPlayerColor(playerid, 0xFFFFFFFF); directly could bug the color afaik. I had the similar problem before and i fixed it by defining the color. Also add the SetPlayerColor on your command as said above.


Re: Tab Color - michaeli - 20.06.2014

Thanks guys, its fixed now