[saco] Implement and match CPlayerPed::GetCurrentAim()

This commit is contained in:
RD42 committed 2024-05-05 18:34:54 +08:00
1 parent 3fc4174268
commit c8bd72c1a0
2 files changed
+9

No files matched your search

+7
View File
@@ -109,6 +109,13 @@ BYTE CPlayerPed::GetSpecialKey()
}
//-----------------------------------------------------------
CAMERA_AIM * CPlayerPed::GetCurrentAim()
{
return GameGetInternalAim();
}
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
{
if(!m_pPed) return;
+2
View File
@@ -21,6 +21,8 @@ public:
BYTE GetSpecialKey();
CAMERA_AIM * GetCurrentAim();
WORD GetAmmo();
void GiveWeapon(int iWeaponID, int iAmmo);