GetPlayerColor

From NPC for VCMP 0.4 Servers
Revision as of 17:24, 29 October 2024 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function was added in v1.8 beta and will not work on previous versions.


Description:
This function is used to find the color(r,g,b) of another player(the marker in map as well as name tag).


Parameters:

(playerid)

playerid : The ID of the target player whose color is to be found.


Return Values:
This function returns a table with keys r,g,b on success and null on failure(target player does not exist)



Related Functions

The following functions may be helpful as they relate to this function in one way or another.