Quote:
Originally Posted by Blizzard_87
To save code you can give_item inside the giving back pack ammo native.
Code:
cs_set_user_bpammo( id , give_item( id , " weapon_mp5navy" ), 30 );
|
give_item() returns the index of the entity created, not the CSW_* constant ( which is what is required in cs_set_user_bpammo() ).
Sounds like your thinking of cs_set_weapon_ammo() where you would set the clip amount of the created weapon.