native get_user_weapon(index, &clip = 0, &ammo = 0);
Optional variable to store clip ammo to
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
If the client index is not within the range of 1 to MaxClients, an error will be thrown.