mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[saco] Implement/match CRemotePlayer::GetPlayerColorAsARGB()
This commit is contained in:
@ -77,3 +77,9 @@ DWORD CRemotePlayer::GetPlayerColorAsRGBA()
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
DWORD CRemotePlayer::GetPlayerColorAsARGB()
|
||||
{
|
||||
return (TranslateColorCodeToRGBA(m_PlayerID) >> 8) | 0xFF000000;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
@ -59,6 +59,7 @@ public:
|
||||
|
||||
void SetPlayerColor(DWORD dwColor);
|
||||
DWORD GetPlayerColorAsRGBA();
|
||||
DWORD GetPlayerColorAsARGB();
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Reference in New Issue
Block a user