mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 04:36:01 +08:00
[saco] Implement/match CEntity::GetDistanceFromLocalPlayerPed()
* Update CLocalPlayer constructor * Update `CLocalPlayer::ResetAllSyncAttributes()`
This commit is contained in:
@ -10,7 +10,7 @@ CLocalPlayer::CLocalPlayer()
|
||||
field_147 = GetTickCount();
|
||||
field_137 = GetTickCount();
|
||||
field_13B = GetTickCount();
|
||||
field_1D0 = 0;
|
||||
m_bInRCMode = FALSE;
|
||||
field_2E2 = 0;
|
||||
field_2D6 = GetTickCount();
|
||||
field_2F6 = 0;
|
||||
@ -24,7 +24,7 @@ CLocalPlayer::CLocalPlayer()
|
||||
field_13F = GetTickCount();
|
||||
field_117 = field_10F;
|
||||
field_11B = field_10F;
|
||||
field_108 = 0;
|
||||
m_bIsSpectating = FALSE;
|
||||
field_30F = 0;
|
||||
field_310 = -1;
|
||||
field_306 = 0;
|
||||
@ -51,7 +51,7 @@ void CLocalPlayer::ResetAllSyncAttributes()
|
||||
field_2FE = 0;
|
||||
field_1CF = 0;
|
||||
field_FA = -1;
|
||||
field_1D0 = 0;
|
||||
m_bInRCMode = FALSE;
|
||||
field_318 = -1;
|
||||
field_11F = -1;
|
||||
field_121 = -1;
|
||||
|
Reference in New Issue
Block a user