diff options
author | erorcun <erayorcunus@gmail.com> | 2020-01-07 15:23:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 15:23:09 +0100 |
commit | f9316d9cc3cfb748366758c41cf02634b6df9a08 (patch) | |
tree | cb7dafc76cb2966ac86d908fd5d99c3b7c164cf0 /src/weapons/Weapon.h | |
parent | Merge pull request #285 from Nick007J/script_dev (diff) | |
download | re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.gz re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.bz2 re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.lz re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.xz re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.tar.zst re3-f9316d9cc3cfb748366758c41cf02634b6df9a08.zip |
Diffstat (limited to '')
-rw-r--r-- | src/weapons/Weapon.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h index 1663ee0d..1db66720 100644 --- a/src/weapons/Weapon.h +++ b/src/weapons/Weapon.h @@ -15,7 +15,8 @@ enum eWeaponType WEAPONTYPE_MOLOTOV, WEAPONTYPE_GRENADE, WEAPONTYPE_DETONATOR, - WEAPONTYPE_TOTAL_INVENTORY_WEAPONS, + WEAPONTYPE_TOTAL_INVENTORY_WEAPONS = 13, + WEAPONTYPE_HELICANNON = 13, WEAPONTYPE_TOTALWEAPONS, WEAPONTYPE_ARMOUR, WEAPONTYPE_RAMMEDBYCAR, @@ -72,6 +73,7 @@ public: bool IsType2Handed(void); static void DoTankDoomAiming(CEntity *playerVehicle, CEntity *playerPed, CVector *start, CVector *end); bool HitsGround(CEntity* holder, CVector* firePos, CEntity* aimingTo); + bool HasWeaponAmmoToBeUsed(void); static void InitialiseWeapons(void); static void UpdateWeapons(void); }; |