mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CLocalPlayer::GetPlayerColorAsRGBA()
This commit is contained in:
parent
fd79de6997
commit
b860b6a926
@ -92,3 +92,10 @@ void CLocalPlayer::SetPlayerColor(DWORD dwColor)
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
DWORD CLocalPlayer::GetPlayerColorAsRGBA()
|
||||
{
|
||||
return TranslateColorCodeToRGBA(pNetGame->GetPlayerPool()->GetLocalPlayerID());
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
|
@ -97,6 +97,7 @@ public:
|
||||
void Say(PCHAR szText);
|
||||
|
||||
void SetPlayerColor(DWORD dwColor);
|
||||
DWORD GetPlayerColorAsRGBA();
|
||||
BOOL IsSpectating() { return m_bIsSpectating; };
|
||||
|
||||
void ReturnToClassSelection() { m_bWantsAnotherClass = TRUE; };
|
||||
|
Loading…
Reference in New Issue
Block a user