mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 12:46:07 +08:00
[saco] Implement/match CRemotePlayer::GetPlayerColorAsRGBA()
This commit is contained in:
@ -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();
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user