Raised This Month: $ Target: $400
 0% 

Quick Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jagged20101
Member
Join Date: Sep 2009
Old 10-12-2009 , 18:06   Quick Question
Reply With Quote #1

How do u make it so when u give someone a weapon (give_item(id,"weapon_glock18") ) that it gets empied of ammo, would "give_item (id,"ammo_0") work?

Thanks
+ karma
jagged20101 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-12-2009 , 18:14   Re: Quick Question
Reply With Quote #2

Code:
cs_set_weapon_ammo( give_item( id, "weapon_m3" ), 30 ); cs_set_user_bpammo( id, CSW_M3, 100 );
30 = clip
100 = backpack
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
jagged20101
Member
Join Date: Sep 2009
Old 10-12-2009 , 18:23   Re: Quick Question
Reply With Quote #3

Thanks alot!
jagged20101 is offline
Reply



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 22:34.


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