mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Match CPlayerPed constructor
This commit is contained in:
parent
9bbc1fb3d8
commit
4719195b6d
@ -20,7 +20,6 @@ CPlayerPed::CPlayerPed()
|
||||
m_bytePlayerNumber = 0;
|
||||
SetPlayerPedPtrRecord(m_bytePlayerNumber,(DWORD)m_pPed);
|
||||
ScriptCommand(&set_actor_weapon_droppable,m_dwGTAId,1);
|
||||
|
||||
ScriptCommand(&set_actor_can_be_decapitated,m_dwGTAId,0);
|
||||
|
||||
field_2A8 = 1;
|
||||
@ -42,14 +41,19 @@ CPlayerPed::CPlayerPed()
|
||||
|
||||
int x=0;
|
||||
while(x!=10) {
|
||||
field_4C[x];
|
||||
field_4C[x] = 0;
|
||||
field_27C[x] = 0;
|
||||
memset(&field_74[x], 0, sizeof(struc_97));
|
||||
x++;
|
||||
}
|
||||
|
||||
field_2F9 = 0;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------
|
||||
// If the game has internally destroyed the ped
|
||||
// during this frame, the ped pointer should become 0
|
||||
|
@ -55,6 +55,8 @@ public:
|
||||
|
||||
CPlayerPed();
|
||||
|
||||
//char _gap0[813];
|
||||
//char _gap0[741];
|
||||
int field_48;
|
||||
int field_4C[10];
|
||||
struc_97 field_74[10];
|
||||
@ -63,35 +65,27 @@ public:
|
||||
int field_2A8;
|
||||
int field_2AC;
|
||||
BYTE m_bytePlayerNumber;
|
||||
|
||||
char _gap2B1[8];
|
||||
|
||||
int field_2B9;
|
||||
|
||||
char _gap2BD[4];
|
||||
|
||||
int field_2C1;
|
||||
int field_2C5;
|
||||
int field_2C9;
|
||||
DWORD m_dwArrow;
|
||||
|
||||
char _gap2D1;
|
||||
|
||||
char _gap2D1[1];
|
||||
int field_2D2;
|
||||
|
||||
char _gap2D6[8];
|
||||
|
||||
int field_2DE;
|
||||
int field_2E2;
|
||||
BOOL m_bGoggleState;
|
||||
|
||||
char _gap2EA[8];
|
||||
|
||||
int field_2F2;
|
||||
char field_2F6;
|
||||
char field_2F7;
|
||||
char field_2F8;
|
||||
int field_2F9;
|
||||
char _gap2FD[48];
|
||||
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user