mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-12 02:08:14 +08:00
[saco] Implement/match CLocalPlayer::GetPlayerColorAsRGBA()
This commit is contained in:
1 parent
fd79de6997
commit
b860b6a926
2 files changed
+8
No files matched your search
@@ -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; };
|
||||
|
||||
Reference in new issue
Block a user