xmod_get_wpnlogname
- Синтаксис
-
native xmod_get_wpnlogname(wpnindex, name[], len);
Переменная | Описание |
---|---|
wpnindex |
Weapon id |
name |
Buffer to copy weapon log name to |
len |
Maximmum buffer size |
- Описание
- Retrieves the weapon log name of a weapon id.
- Пометка
-
For a list of default CS weapon ids see the CSW_* constants in amxconst.inc, this function also works on custom weapons.
- Пометка
-
For the default CS weapons this obviously returns true only for CSW_KNIFE.
- Возвращает
- Number of cells written to buffer