GetPlayerColor

From SA-MP Wiki

Jump to: navigation, search

GetPlayerColor


This function returns the color the player is currently using.


Important Note: GetPlayerColor will return nothing unless SetPlayerColor has been used!
Click HERE for a fix.


Parameters:
(playerid)
playeridThe player you want to know the color of.


ReturnsThe players color.


SendClientMessage(playerid, GetPlayerColor(playerid), "This is your color :)");

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools