SA-MP Forums Archive
What is the function for player text 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: What is the function for player text color (/showthread.php?tid=315225)



What is the function for player text color - SourceCode - 02.02.2012

What's the function for changing color of player b's name on head for say player A, I saw this somewhere.

Anyway, which is the best way to mark a specific player as current aim, I mean if i am aiming at someone with serveside gun (for example missile which cannot have default gta green aim thingy), It should be clear thing indicating the player he is aiming


AW: What is the function for player text color - BigETI - 02.02.2012

https://sampwiki.blast.hk/wiki/SetPlayerColor


Re: What is the function for player text color - T0pAz - 02.02.2012

OnPlayerTargetPlayer.


Re: AW: What is the function for player text color - SourceCode - 02.02.2012

Quote:
Originally Posted by BigETI
View Post
oH Dude, i said color only for specific player's view, not everyone

@Topaz good function, but i was looking for a way to inform the player who he is aiming at, i could make textdraw of the target's name, but its kinda hard to look through names in serious battle, so something like textdraw pointing at target's position or something like that


AW: What is the function for player text color - BigETI - 02.02.2012

You can't set the color of someone to a specific player ID unless you use a function which can highlight things on map (for example SetPlayerMarkerForPlayer)


Re: What is the function for player text color - KiiD - 02.02.2012

You Can Only
Code:
SetPlayerColor(playerid, COLOR_CODE);
Not Set Certain ID's To Different Colors, If Thats What Your Meaning.


Re: What is the function for player text color - SourceCode - 02.02.2012

I bet i saw that on a gf-edit server when using /find command


Re: What is the function for player text color - Steven82 - 02.02.2012

Quote:
Originally Posted by SourceCode
View Post
I bet i saw that on a gf-edit server when using /find command
Yes, indeed you did.


Re: What is the function for player text color - Babul - 02.02.2012

maybe its a 3dlabel? i dont use them yet (only the chatbubble), and idk if the font for a label can be changed. what font did that label use? if its a different one, and 3dlabels cant be changed in font, then its obvious