Raised This Month: $ Target: $400
 0% 

Bullets


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 11-20-2013 , 23:35   Re: Bullets
Reply With Quote #6

Quote:
Originally Posted by Blizzard_87 View Post
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.
hornet is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode