mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +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 SetPlayerColor(DWORD dwColor);
|
||||
DWORD GetPlayerColorAsRGBA();
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Reference in New Issue
Block a user