Name Colors - 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: Name Colors (
/showthread.php?tid=130527)
Name Colors -
INeedHelp - 27.02.2010
Hello,
How i can make someone's name color blue.I can make it blue but it will show on the map,i dont want that i would show on the map,just the name color.
Re: Name Colors -
Vince - 27.02.2010
Add 00 to the end, and it won't show on the map (makes it invisible).
For example, if you have this:
#define COLOR_BLUE 0x0000FFFF
Make it this:
#define COLOR_BLUE 0x0000FF00
Re: Name Colors -
bajskorv123 - 27.02.2010
Use SetPlayerMarkerForPlayer(playerid, showplayerid, color);
Heres a little something:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)//Here is the loop that makes i to everyone
{
SetPlayerColor(playerid, 0x0000FFFF);
SetPlayerMarkerForPlayer(i, playerid, color);//Change color
}
This would make set playerids color to blue and everyone(i) will see playerid as "color" on the map.