mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match CRemotePlayer::GetPlayerColorAsRGBA()
This commit is contained in:
parent
9e596ad32a
commit
a2e4ab84b6
@ -70,3 +70,10 @@ void CRemotePlayer::SetPlayerColor(DWORD dwColor)
|
|||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
|
||||||
|
DWORD CRemotePlayer::GetPlayerColorAsRGBA()
|
||||||
|
{
|
||||||
|
return TranslateColorCodeToRGBA(m_PlayerID);
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ public:
|
|||||||
void ResetAllSyncAttributes();
|
void ResetAllSyncAttributes();
|
||||||
|
|
||||||
void SetPlayerColor(DWORD dwColor);
|
void SetPlayerColor(DWORD dwColor);
|
||||||
|
DWORD GetPlayerColorAsRGBA();
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user