---
title: "Weapon States | open.mp"
description: "Weapon State Constants"
canonical: https://omp.itsneufox.com/th/docs/scripting/resources/weaponstates
language: th
---

# Weapon States

| ID | Definition | Description |
| --- | --- | --- |
| \-1 | WEAPONSTATE\_UNKNOWN | Unknown (Set when in a vehicle) |
| 0 | WEAPONSTATE\_NO\_BULLETS | The weapon has no remaining ammo |
| 1 | WEAPONSTATE\_LAST\_BULLET | The weapon has one remaining bullet |
| 2 | WEAPONSTATE\_MORE\_BULLETS | The weapon has multiple bullets |
| 3 | WEAPONSTATE\_RELOADING | The player is reloading their weapon |

## ฟังก์ชั่นที่เกี่ยวข้องกัน

-   [GetPlayerWeaponState](https://omp.itsneufox.com/th/docs/scripting/functions/GetPlayerWeaponState): Check the state of a player's weapon.
