cs_get_weapon_id
- Синтаксис
-
native cs_get_weapon_id(index);
Переменная | Описание |
---|---|
index |
Weapon entity index |
- Описание
- Returns the weapon id of an entity.
- Пометка
-
For a list of possible weapon ids see the CSW_* constants in amxconst.inc
- Пометка
-
This native does not verify that the provided entity is a weapon entity. It will return incorrect values for non-weapon entities.
- Возвращает
- Weapon id