cs_set_weapon_ammo
- Синтаксис
-
native cs_set_weapon_ammo(index, newammo);
Переменная | Описание |
---|---|
index |
Weapon entity index |
newammo |
New ammo amount |
- Описание
- Sets the amount of ammo in weapon's clip.
- Пометка
-
This native does not verify that the provided entity is a weapon entity. It will result in undefined behavior if used on non-weapon entities.
- Возвращает
- Функция ничего не возвращает