mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CRemotePlayer::GetPlayerColorAsARGB()
This commit is contained in:
parent
a2e4ab84b6
commit
fd79de6997
@ -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();
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user