get_user_weapon
- Синтаксис
-
native get_user_weapon(index, &clip = 0, &ammo = 0);
Переменная | Описание |
---|---|
index |
Client index |
clip |
Optional variable to store clip ammo to |
ammo |
Optional variable to store backpack ammo to |
- Описание
- Returns weapon index of the currently carried weapon. Also allows retrieval of ammo in the clip and backpack.
- Возвращает
- Weapon index on success or 0 if the client is not connected