mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-02-21 06:33:22 +00: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 SetPlayerColor(DWORD dwColor);
|
||||
DWORD GetPlayerColorAsRGBA();
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user