
WEAPON
122 functions. All namespaces
native.addAmmoToPed(ped: Ped, weaponHash: Hash, ammo: int): void
ADD_AMMO_TO_PED
native.addPedAmmoByType(ped: Ped, ammoTypeHash: Hash, ammo: int): void
ADD_PED_AMMO_BY_TYPE
native.canUseWeaponOnParachute(weaponHash: Hash): BOOL
CAN_USE_WEAPON_ON_PARACHUTE
native.clearEntityLastWeaponDamage(entity: Entity): void
CLEAR_ENTITY_LAST_WEAPON_DAMAGE
native.clearPedLastWeaponDamage(ped: Ped): void
CLEAR_PED_LAST_WEAPON_DAMAGE
native.createAirDefenceAngledArea(p0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: float, p8: float, radius: float, weaponHash: Hash): int
CREATE_AIR_DEFENCE_ANGLED_AREA
native.createAirDefenceSphere(x: float, y: float, z: float, radius: float, p4: float, p5: float, p6: float, weaponHash: Hash): int
CREATE_AIR_DEFENCE_SPHERE
native.createWeaponObject(weaponHash: Hash, ammoCount: int, x: float, y: float, z: float, showWorldModel: BOOL, scale: float, p7: Any, p8: Any, p9: Any): Object
CREATE_WEAPON_OBJECT
native.doesAirDefenceSphereExist(zoneId: int): BOOL
DOES_AIR_DEFENCE_SPHERE_EXIST
native.doesWeaponTakeWeaponComponent(weaponHash: Hash, componentHash: Hash): BOOL
DOES_WEAPON_TAKE_WEAPON_COMPONENT
native.enableLaserSightRendering(toggle: BOOL): void
ENABLE_LASER_SIGHT_RENDERING
native.explodeProjectiles(ped: Ped, weaponHash: Hash, instant: BOOL): void
EXPLODE_PROJECTILES
native.fireAirDefenceSphereWeaponAtPosition(zoneId: int, x: float, y: float, z: float): void
FIRE_AIR_DEFENCE_SPHERE_WEAPON_AT_POSITION
native.getAmmoInClip(ped: Ped, weaponHash: Hash, ammo: int (in/out)): BOOL
GET_AMMO_IN_CLIP
native.getAmmoInPedWeapon(ped: Ped, weaponhash: Hash): int
GET_AMMO_IN_PED_WEAPON
native.getAmmoInVehicleWeaponClip(vehicle: Vehicle, seat: int, ammo: int (in/out)): BOOL
_GET_AMMO_IN_VEHICLE_WEAPON_CLIP
native.getBestPedWeapon(ped: Ped, bIgnoreAmmoCheck: BOOL): Hash
GET_BEST_PED_WEAPON
native.getCurrentPedVehicleWeapon(ped: Ped, weaponHash: Hash (in/out)): BOOL
GET_CURRENT_PED_VEHICLE_WEAPON
native.getCurrentPedWeapon(ped: Ped, weaponHash: Hash (in/out), doDeadCheck: BOOL): BOOL
GET_CURRENT_PED_WEAPON
native.getCurrentPedWeaponEntityIndex(ped: Ped, doDeadCheck: BOOL): Entity
GET_CURRENT_PED_WEAPON_ENTITY_INDEX
native.getIsPedGadgetEquipped(ped: Ped, gadgetHash: Hash): BOOL
GET_IS_PED_GADGET_EQUIPPED
native.getLockonDistanceOfCurrentPedWeapon(ped: Ped): float
GET_LOCKON_DISTANCE_OF_CURRENT_PED_WEAPON
native.getMaxAmmo(ped: Ped, weaponHash: Hash, ammo: int (in/out)): BOOL
GET_MAX_AMMO
native.getMaxAmmoByType(ped: Ped, ammoTypeHash: Hash, ammo: int (in/out)): BOOL
GET_MAX_AMMO_BY_TYPE
native.getMaxAmmoInClip(ped: Ped, weaponHash: Hash, p2: BOOL): int
GET_MAX_AMMO_IN_CLIP
native.getMaxRangeOfCurrentPedWeapon(ped: Ped): float
GET_MAX_RANGE_OF_CURRENT_PED_WEAPON
native.getPedAmmoByType(ped: Ped, ammoTypeHash: Hash): int
GET_PED_AMMO_BY_TYPE
native.getPedAmmoTypeFromWeapon(ped: Ped, weaponHash: Hash): Hash
GET_PED_AMMO_TYPE_FROM_WEAPON
native.getPedLastWeaponImpactCoord(ped: Ped, coords: Vector3 (in/out)): BOOL
GET_PED_LAST_WEAPON_IMPACT_COORD
native.getPedOriginalAmmoTypeFromWeapon(ped: Ped, weaponHash: Hash): Hash
GET_PED_ORIGINAL_AMMO_TYPE_FROM_WEAPON
native.getPedWeaponCamoIndex(ped: Ped, weaponHash: Hash): int
GET_PED_WEAPON_CAMO_INDEX
native.getPedWeaponComponentTintIndex(ped: Ped, weaponHash: Hash, camoComponentHash: Hash): int
GET_PED_WEAPON_COMPONENT_TINT_INDEX
native.getPedWeaponTintIndex(ped: Ped, weaponHash: Hash): int
GET_PED_WEAPON_TINT_INDEX
native.getPedWeapontypeInSlot(ped: Ped, weaponSlot: Hash): Hash
GET_PED_WEAPONTYPE_IN_SLOT
native.getSelectedPedWeapon(ped: Ped): Hash
GET_SELECTED_PED_WEAPON
native.getTimeBeforeVehicleWeaponReloadFinishes(vehicle: Vehicle, seat: int): int
_GET_TIME_BEFORE_VEHICLE_WEAPON_RELOAD_FINISHES
native.getVehicleWeaponReloadTime(vehicle: Vehicle, seat: int): float
_GET_VEHICLE_WEAPON_RELOAD_TIME
native.getWeaponClipSize(weaponHash: Hash): int
GET_WEAPON_CLIP_SIZE
native.getWeaponComponentTypeModel(componentHash: Hash): Hash
GET_WEAPON_COMPONENT_TYPE_MODEL
native.getWeaponComponentVariantExtraCount(componentHash: Hash): int
GET_WEAPON_COMPONENT_VARIANT_EXTRA_COUNT
native.getWeaponComponentVariantExtraModel(componentHash: Hash, extraComponentIndex: int): Hash
GET_WEAPON_COMPONENT_VARIANT_EXTRA_MODEL
native.getWeaponDamage(weaponHash: Hash, componentHash: Hash): float
GET_WEAPON_DAMAGE
native.getWeaponDamageType(weaponHash: Hash): int
GET_WEAPON_DAMAGE_TYPE
native.getWeaponObjectComponentTintIndex(weaponObject: Object, camoComponentHash: Hash): int
GET_WEAPON_OBJECT_COMPONENT_TINT_INDEX
native.getWeaponObjectFromPed(ped: Ped, p1: BOOL): Object
GET_WEAPON_OBJECT_FROM_PED
native.getWeaponObjectTintIndex(weapon: Object): int
GET_WEAPON_OBJECT_TINT_INDEX
native.getWeaponTimeBetweenShots(weaponHash: Hash): float
GET_WEAPON_TIME_BETWEEN_SHOTS
native.getWeaponTintCount(weaponHash: Hash): int
GET_WEAPON_TINT_COUNT
native.getWeapontypeGroup(weaponHash: Hash): Hash
GET_WEAPONTYPE_GROUP
native.getWeapontypeModel(weaponHash: Hash): Hash
GET_WEAPONTYPE_MODEL
native.getWeapontypeSlot(weaponHash: Hash): Hash
GET_WEAPONTYPE_SLOT
native.giveDelayedWeaponToPed(ped: Ped, weaponHash: Hash, ammoCount: int, bForceInHand: BOOL): void
GIVE_DELAYED_WEAPON_TO_PED
native.giveLoadoutToPed(ped: Ped, loadoutHash: Hash): void
GIVE_LOADOUT_TO_PED
native.giveWeaponComponentToPed(ped: Ped, weaponHash: Hash, componentHash: Hash): void
GIVE_WEAPON_COMPONENT_TO_PED
native.giveWeaponComponentToWeaponObject(weaponObject: Object, componentHash: Hash): void
GIVE_WEAPON_COMPONENT_TO_WEAPON_OBJECT
native.giveWeaponObjectToPed(weaponObject: Object, ped: Ped): void
GIVE_WEAPON_OBJECT_TO_PED
native.giveWeaponToPed(ped: Ped, weaponHash: Hash, ammoCount: int, isHidden: BOOL, bForceInHand: BOOL): void
GIVE_WEAPON_TO_PED
native.hasEntityBeenDamagedByWeapon(entity: Entity, weaponHash: Hash, weaponType: int): BOOL
HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON
native.hasPedBeenDamagedByWeapon(ped: Ped, weaponHash: Hash, weaponType: int): BOOL
HAS_PED_BEEN_DAMAGED_BY_WEAPON
native.hasPedGotWeapon(ped: Ped, weaponHash: Hash, p2: BOOL): BOOL
HAS_PED_GOT_WEAPON
native.hasPedGotWeaponComponent(ped: Ped, weaponHash: Hash, componentHash: Hash): BOOL
HAS_PED_GOT_WEAPON_COMPONENT
native.hasPedGotWeaponManager(ped: Ped): BOOL
HAS_PED_GOT_WEAPON_MANAGER
native.hasVehicleGotProjectileAttached(driver: Ped, vehicle: Vehicle, weaponHash: Hash, p3: Any): BOOL
HAS_VEHICLE_GOT_PROJECTILE_ATTACHED
native.hasWeaponAssetLoaded(weaponHash: Hash): BOOL
HAS_WEAPON_ASSET_LOADED
native.hasWeaponGotWeaponComponent(weapon: Object, componentHash: Hash): BOOL
HAS_WEAPON_GOT_WEAPON_COMPONENT
native.hasWeaponReloadingInVehicle(vehicle: Vehicle, seat: int): BOOL
_HAS_WEAPON_RELOADING_IN_VEHICLE
native.hidePedWeaponForScriptedCutscene(ped: Ped, toggle: BOOL): void
HIDE_PED_WEAPON_FOR_SCRIPTED_CUTSCENE
native.isAirDefenceSphereInArea(x: float, y: float, z: float, radius: float, outZoneId: int (in/out)): BOOL
IS_AIR_DEFENCE_SPHERE_IN_AREA
native.isFlashLightOn(ped: Ped): BOOL
IS_FLASH_LIGHT_ON
native.isPedArmed(ped: Ped, typeFlags: int): BOOL
IS_PED_ARMED
native.isPedCurrentWeaponSilenced(ped: Ped): BOOL
IS_PED_CURRENT_WEAPON_SILENCED
native.isPedWeaponComponentActive(ped: Ped, weaponHash: Hash, componentHash: Hash): BOOL
IS_PED_WEAPON_COMPONENT_ACTIVE
native.isPedWeaponReadyToShoot(ped: Ped): BOOL
IS_PED_WEAPON_READY_TO_SHOOT
native.isWeaponValid(weaponHash: Hash): BOOL
IS_WEAPON_VALID
native.makePedReload(ped: Ped): BOOL
MAKE_PED_RELOAD
native.refillAmmoInstantly(ped: Ped): BOOL
REFILL_AMMO_INSTANTLY
native.removeAirDefenceSphere(zoneId: int): BOOL
REMOVE_AIR_DEFENCE_SPHERE
native.removeAllAirDefenceSpheres(): void
REMOVE_ALL_AIR_DEFENCE_SPHERES
native.removeAllPedWeapons(ped: Ped, p1: BOOL): void
REMOVE_ALL_PED_WEAPONS
native.removeAllProjectilesOfType(weaponHash: Hash, explode: BOOL): void
REMOVE_ALL_PROJECTILES_OF_TYPE
native.removeWeaponAsset(weaponHash: Hash): void
REMOVE_WEAPON_ASSET
native.removeWeaponComponentFromPed(ped: Ped, weaponHash: Hash, componentHash: Hash): void
REMOVE_WEAPON_COMPONENT_FROM_PED
native.removeWeaponComponentFromWeaponObject(object: Object, componentHash: Hash): void
REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT
native.removeWeaponFromPed(ped: Ped, weaponHash: Hash): void
REMOVE_WEAPON_FROM_PED
native.requestWeaponAsset(weaponHash: Hash, p1: int, p2: int): void
REQUEST_WEAPON_ASSET
native.requestWeaponHighDetailModel(weaponObject: Entity): void
REQUEST_WEAPON_HIGH_DETAIL_MODEL
native.setAmmoInClip(ped: Ped, weaponHash: Hash, ammo: int): BOOL
SET_AMMO_IN_CLIP
native.setAmmoInVehicleWeaponClip(vehicle: Vehicle, seat: int, ammo: int): BOOL
_SET_AMMO_IN_VEHICLE_WEAPON_CLIP
native.setCanPedSelectAllWeapons(ped: Ped, toggle: BOOL): void
SET_CAN_PED_SELECT_ALL_WEAPONS
native.setCanPedSelectInventoryWeapon(ped: Ped, weaponHash: Hash, toggle: BOOL): void
SET_CAN_PED_SELECT_INVENTORY_WEAPON
native.setCurrentPedVehicleWeapon(ped: Ped, weaponHash: Hash): BOOL
SET_CURRENT_PED_VEHICLE_WEAPON
native.setCurrentPedWeapon(ped: Ped, weaponHash: Hash, bForceInHand: BOOL): void
SET_CURRENT_PED_WEAPON
native.setEqippedWeaponStartSpinningAtFullSpeed(ped: Ped): void
SET_EQIPPED_WEAPON_START_SPINNING_AT_FULL_SPEED
native.setFlashLightActiveHistory(ped: Ped, toggle: BOOL): void
SET_FLASH_LIGHT_ACTIVE_HISTORY
native.setFlashLightFadeDistance(distance: float): BOOL
SET_FLASH_LIGHT_FADE_DISTANCE
native.setPedAmmo(ped: Ped, weaponHash: Hash, ammo: int, p3: BOOL): void
SET_PED_AMMO
native.setPedAmmoByType(ped: Ped, ammoTypeHash: Hash, ammo: int): void
SET_PED_AMMO_BY_TYPE
native.setPedAmmoToDrop(ped: Ped, p1: int): void
SET_PED_AMMO_TO_DROP
native.setPedChanceOfFiringBlanks(ped: Ped, xBias: float, yBias: float): void
SET_PED_CHANCE_OF_FIRING_BLANKS
native.setPedCurrentWeaponVisible(ped: Ped, visible: BOOL, deselectWeapon: BOOL, p3: BOOL, p4: BOOL): void
SET_PED_CURRENT_WEAPON_VISIBLE
native.setPedCycleVehicleWeaponsOnly(ped: Ped): void
SET_PED_CYCLE_VEHICLE_WEAPONS_ONLY
native.setPedDropsInventoryWeapon(ped: Ped, weaponHash: Hash, xOffset: float, yOffset: float, zOffset: float, ammoCount: int): void
SET_PED_DROPS_INVENTORY_WEAPON
native.setPedDropsWeapon(ped: Ped): void
SET_PED_DROPS_WEAPON
native.setPedDropsWeaponsWhenDead(ped: Ped, toggle: BOOL): void
SET_PED_DROPS_WEAPONS_WHEN_DEAD
native.setPedGadget(ped: Ped, gadgetHash: Hash, p2: BOOL): void
SET_PED_GADGET
native.setPedInfiniteAmmo(ped: Ped, toggle: BOOL, weaponHash: Hash): void
SET_PED_INFINITE_AMMO
native.setPedInfiniteAmmoClip(ped: Ped, toggle: BOOL): void
SET_PED_INFINITE_AMMO_CLIP
native.setPedShootOrdnanceWeapon(ped: Ped, p1: float): Object
SET_PED_SHOOT_ORDNANCE_WEAPON
native.setPedStunGunFiniteAmmo(p0: Any, p1: Any): void
SET_PED_STUN_GUN_FINITE_AMMO
native.setPedWeaponComponentTintIndex(ped: Ped, weaponHash: Hash, camoComponentHash: Hash, colorIndex: int): void
SET_PED_WEAPON_COMPONENT_TINT_INDEX
native.setPedWeaponTintIndex(ped: Ped, weaponHash: Hash, tintIndex: int): void
SET_PED_WEAPON_TINT_INDEX
native.setPickupAmmoAmountScaler(p0: float): void
SET_PICKUP_AMMO_AMOUNT_SCALER
native.setPlayerTargettableForAirDefenceSphere(player: Player, zoneId: int, enable: BOOL): void
SET_PLAYER_TARGETTABLE_FOR_AIR_DEFENCE_SPHERE
native.setWeaponAnimationOverride(ped: Ped, animStyle: Hash): void
SET_WEAPON_ANIMATION_OVERRIDE
native.setWeaponAoeModifier(weaponHash: Hash, multiplier: float): void
SET_WEAPON_AOE_MODIFIER
native.setWeaponDamageModifier(weaponHash: Hash, damageMultiplier: float): void
SET_WEAPON_DAMAGE_MODIFIER
native.setWeaponEffectDurationModifier(p0: Hash, p1: float): void
SET_WEAPON_EFFECT_DURATION_MODIFIER
native.setWeaponObjectCamoIndex(weaponObject: Object, p1: int): void
SET_WEAPON_OBJECT_CAMO_INDEX
native.setWeaponObjectComponentTintIndex(weaponObject: Object, camoComponentHash: Hash, colorIndex: int): void
SET_WEAPON_OBJECT_COMPONENT_TINT_INDEX
native.setWeaponObjectTintIndex(weapon: Object, tintIndex: int): void
SET_WEAPON_OBJECT_TINT_INDEX
native.setWeaponPedDamageModifier(weapon: Hash, damageModifier: float): void
_SET_WEAPON_PED_DAMAGE_MODIFIER
native.triggerVehicleWeaponReload(vehicle: Vehicle, seat: int, ped: Ped): BOOL
_TRIGGER_VEHICLE_WEAPON_RELOAD