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
If the client index is not within the range of 1 to MaxClients or the weapon index is invalid, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.