---
title: "36 docs tagged with \"weapon\" | open.mp"
canonical: https://omp.itsneufox.com/docs/tags/weapon
language: en
---

# 36 docs tagged with "weapon"

[View all tags](https://omp.itsneufox.com/docs/tags)

[

## GetWeaponSlot

](https://omp.itsneufox.com/docs/scripting/functions/GetWeaponSlot)

Gets the slot of one weapon.

[

## NPC\_AimAt

](https://omp.itsneufox.com/docs/scripting/functions/NPC_AimAt)

Makes an NPC aim at a specific position.

[

## NPC\_AimAtPlayer

](https://omp.itsneufox.com/docs/scripting/functions/NPC_AimAtPlayer)

Makes an NPC aim at a player.

[

## NPC\_EnableInfiniteAmmo

](https://omp.itsneufox.com/docs/scripting/functions/NPC_EnableInfiniteAmmo)

Enables or disables infinite ammo for an NPC.

[

## NPC\_EnableReloading

](https://omp.itsneufox.com/docs/scripting/functions/NPC_EnableReloading)

Enables or disables automatic reloading for an NPC.

[

## NPC\_GetAmmo

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetAmmo)

Gets the ammunition amount for an NPC's current weapon.

[

## NPC\_GetAmmoInClip

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetAmmoInClip)

Gets the ammunition in the current clip of an NPC's weapon.

[

## NPC\_GetPlayerAimingAt

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetPlayerAimingAt)

Gets the ID of the player that an NPC is currently aiming at.

[

## NPC\_GetWeapon

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeapon)

Gets the current weapon an NPC is holding.

[

## NPC\_GetWeaponAccuracy

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeaponAccuracy)

Gets the accuracy setting for an NPC's weapon.

[

## NPC\_GetWeaponActualClipSize

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeaponActualClipSize)

Gets the actual (default) clip size for an NPC's weapon.

[

## NPC\_GetWeaponActualReloadTime

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeaponActualReloadTime)

Gets the actual (default) reload time for an NPC's weapon.

[

## NPC\_GetWeaponClipSize

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeaponClipSize)

Gets the clip size setting for an NPC's weapon.

[

## NPC\_GetWeaponReloadTime

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeaponReloadTime)

Gets the reload time of an NPC's weapon.

[

## NPC\_GetWeaponShootTime

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeaponShootTime)

Gets the shoot time of an NPC's weapon.

[

## NPC\_GetWeaponSkillLevel

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeaponSkillLevel)

Gets the weapon skill level of an NPC.

[

## NPC\_GetWeaponState

](https://omp.itsneufox.com/docs/scripting/functions/NPC_GetWeaponState)

Gets the weapon state of an NPC.

[

## NPC\_IsAiming

](https://omp.itsneufox.com/docs/scripting/functions/NPC_IsAiming)

Checks if an NPC is currently aiming.

[

## NPC\_IsAimingAtPlayer

](https://omp.itsneufox.com/docs/scripting/functions/NPC_IsAimingAtPlayer)

Checks if an NPC is aiming at a specific player.

[

## NPC\_IsInfiniteAmmoEnabled

](https://omp.itsneufox.com/docs/scripting/functions/NPC_IsInfiniteAmmoEnabled)

Checks if infinite ammo is enabled for an NPC.

[

## NPC\_IsReloadEnabled

](https://omp.itsneufox.com/docs/scripting/functions/NPC_IsReloadEnabled)

Checks if automatic reloading is enabled for an NPC.

[

## NPC\_IsReloading

](https://omp.itsneufox.com/docs/scripting/functions/NPC_IsReloading)

Checks if an NPC is currently reloading their weapon.

[

## NPC\_IsShooting

](https://omp.itsneufox.com/docs/scripting/functions/NPC_IsShooting)

Checks if an NPC is currently shooting.

[

## NPC\_SetAmmo

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetAmmo)

Sets the ammunition count for an NPC's current weapon.

[

## NPC\_SetAmmoInClip

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetAmmoInClip)

Sets the amount of ammo in an NPC's weapon clip.

[

## NPC\_SetWeapon

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetWeapon)

Sets an NPC's current weapon.

[

## NPC\_SetWeaponAccuracy

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetWeaponAccuracy)

Sets the accuracy of a specific weapon for an NPC.

[

## NPC\_SetWeaponClipSize

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetWeaponClipSize)

Sets the clip size for an NPC's weapon.

[

## NPC\_SetWeaponReloadTime

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetWeaponReloadTime)

Sets the reload time for an NPC's weapon.

[

## NPC\_SetWeaponShootTime

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetWeaponShootTime)

Sets the shooting interval for an NPC's weapon.

[

## NPC\_SetWeaponSkillLevel

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetWeaponSkillLevel)

Sets the weapon skill level for an NPC.

[

## NPC\_SetWeaponState

](https://omp.itsneufox.com/docs/scripting/functions/NPC_SetWeaponState)

Sets the weapon state of an NPC.

[

## NPC\_Shoot

](https://omp.itsneufox.com/docs/scripting/functions/NPC_Shoot)

Makes an NPC fire a weapon shot.

[

## NPC\_StopAim

](https://omp.itsneufox.com/docs/scripting/functions/NPC_StopAim)

Stops an NPC from aiming.

[

## OnNPCWeaponShot

](https://omp.itsneufox.com/docs/scripting/callbacks/OnNPCWeaponShot)

This callback is called when an NPC fires a weapon.

[

## OnNPCWeaponStateChange

](https://omp.itsneufox.com/docs/scripting/callbacks/OnNPCWeaponStateChange)

This callback is called when an NPC's weapon state changes.
