get_user_ammo
- Синтаксис
-
native get_user_ammo(index, weapon, &clip, &ammo);
Переменная | Описание |
---|---|
index |
Client index |
weapon |
Weapon index |
clip |
Variable to store clip ammo to |
ammo |
Variable to store backpack ammo to |
- Описание
- Retrieves ammo in the clip and backpack of the specified weapon.
- Возвращает
- 1 on success or 0 if the client is not connected