SA-MP Forums Archive
Why arent the player names white? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Why arent the player names white? (/showthread.php?tid=131311)



Why arent the player names white? - Dolph - 02.03.2010

I've tried to make it so that everyone that joins, will get their names in white.



Well their color is light blue..

This is my script,

Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 2020.6265, 1007.7409, 10.8203);
	SetPlayerCameraPos(playerid, 2020.6265, 1007.7409, 10.8203);
	SetPlayerCameraLookAt(playerid, 2020.6265, 1007.7409, 10.8203);
	SetPlayerColor(playerid, 0xFFFFFF);
	return 1;



Re: Why arent the player names white? - BurningSWA - 02.03.2010

i think that you have the wrong collor or smting
try 0xFFFFFFAA

cuz every collor hase to end with AA


Re: Why arent the player names white? - SloProKiller - 02.03.2010

Quote:
Originally Posted by BurningSWA
i think that you have the wrong collor or smting
try 0xFFFFFFAA

cuz every collor hase to end with AA
No it doesn't you can have FF, BB, DD, 11,00...


Re: Why arent the player names white? - -Rebel Son- - 02.03.2010

try this!


Top of script
Код:
#define COLOR_WHITE 0xFFFFFFFF // white

Color its self,
Код:
SetPlayerColor(playerid,COLOR_WHITE);



Re: Why arent the player names white? - Ironboy500 - 03.03.2010

Under OnPlayerSpawn add SetPlayerColor(playerid,COLOR_WHITE);
xD


Re: Why arent the player names white? - adsy - 03.03.2010

Colour are 0x

then html colour code

then i always use ff

so just do the first 2 lines then add ff

you can never go wrong

0xff0000ff is red


Re: Why arent the player names white? - HotSauce - 03.03.2010

agreed with seif