WEAPON
40 natives, 15 of them described.
- ADD_AMMO_TO_CHARAddAmmoToChar
Give ammo for a weapon type to a character.
- CLEAR_CAR_LAST_WEAPON_DAMAGEClearCarLastWeaponDamage
Not described yet
- CLEAR_CHAR_LAST_WEAPON_DAMAGEClearCharLastWeaponDamage
Not described yet
- CLEAR_OBJECT_LAST_WEAPON_DAMAGEClearObjectLastWeaponDamage
Not described yet
- DISABLE_STICKY_BOMB_ACTIVE_SOUNDDisableStickyBombActiveSound
Not described yet
- ENABLE_MAX_AMMO_CAPEnableMaxAmmoCap
Not described yet
- FORCE_CHAR_TO_DROP_WEAPONForceCharToDropWeapon
Not described yet
- GET_AMMO_IN_CHAR_WEAPONGetAmmoInCharWeapon
Return the amount of ammo a character has for a weapon.
- GET_AMMO_IN_CLIPGetAmmoInClip
Gets the current amount of ammo in a clip.
- GET_CHAR_WEAPON_IN_SLOTGetCharWeaponInSlot
Not described yet
- GET_CURRENT_CHAR_WEAPONGetCurrentCharWeapon
Get the current weapon a character is using - returns if it is usable (i.e.
- GET_IS_PROJECTILE_TYPE_IN_AREAGetIsProjectileTypeInArea
Not described yet
- GET_IS_STICKY_BOMB_STUCK_TO_OBJECTGetIsStickyBombStuckToObject
Not described yet
- GET_IS_STICKY_BOMB_STUCK_TO_VEHICLEGetIsStickyBombStuckToVehicle
Not described yet
- GET_MAX_AMMOGetMaxAmmo
Not described yet
- GET_MAX_AMMO_IN_CLIPGetMaxAmmoInClip
Returns the maximum number of bullets allowed in one clip.
- GET_NUMBER_OF_ACTIVE_STICKY_BOMBS_OWNED_BY_PEDGetNumberOfActiveStickyBombsOwnedByPed
Not described yet
- GET_NUMBER_OF_STICKY_BOMBS_STUCK_TO_OBJECTGetNumberOfStickyBombsStuckToObject
Not described yet
- GET_NUMBER_OF_STICKY_BOMBS_STUCK_TO_VEHICLEGetNumberOfStickyBombsStuckToVehicle
Not described yet
- GET_WEAPONTYPE_MODELGetWeapontypeModel
Returns the hash key of the weapon model.
- GET_WEAPONTYPE_SLOTGetWeapontypeSlot
Not described yet
- GIVE_DELAYED_WEAPON_TO_CHARGiveDelayedWeaponToChar
Not described yet
- GIVE_WEAPON_TO_CHARGiveWeaponToChar
Give a weapon to a character with ammo.
- HAS_CAR_BEEN_DAMAGED_BY_WEAPONHasCarBeenDamagedByWeapon
Not described yet
- HAS_CHAR_BEEN_DAMAGED_BY_WEAPONHasCharBeenDamagedByWeapon
Return if a character has been damaged by a certain weapon.
- HAS_CHAR_GOT_WEAPONHasCharGotWeapon
Return if character has a weapon.
- HAS_OBJECT_BEEN_DAMAGED_BY_WEAPONHasObjectBeenDamagedByWeapon
Not described yet
- HIDE_CHAR_WEAPON_FOR_SCRIPTED_CUTSCENEHideCharWeaponForScriptedCutscene
Not described yet
- IS_CHAR_ARMEDIsCharArmed
Queries the characters armament using the flags passed.
- REMOVE_ALL_CHAR_WEAPONSRemoveAllCharWeapons
Not described yet
- REMOVE_WEAPON_FROM_CHARRemoveWeaponFromChar
Remove a weapon a character has.
- SELECT_WEAPONS_FOR_VEHICLESelectWeaponsForVehicle
Not described yet
- SET_AMMO_IN_CLIPSetAmmoInClip
Sets the amount of ammo in a clip.
- SET_CHAR_AMMOSetCharAmmo
Set the ammo a character has for a certain weapon type.
- SET_CHAR_CURRENT_WEAPON_VISIBLESetCharCurrentWeaponVisible
Not described yet
- SET_CHAR_DROPS_WEAPONS_WHEN_DEADSetCharDropsWeaponsWhenDead
Not described yet
- SET_CHAR_WEAPON_SKILLSetCharWeaponSkill
This native function doesn't work (nullsub).
- SET_CURRENT_CHAR_WEAPONSetCurrentCharWeapon
Set the weapon a character is currently using.
- SET_DEATH_WEAPONS_PERSISTSetDeathWeaponsPersist
Not described yet
- SET_MIN_MAX_PED_ACCURACYSetMinMaxPedAccuracy
Not described yet
Descriptions by the HappinessMP community, licensed under CC BY-SA 4.0. You may reuse them if you name HappinessMP as the source and share your version under the same license.