Raised This Month: $ Target: $400
 0% 

cs_set_user_bpammo broken?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VarmVaffel
Member
Join Date: Feb 2005
Location: Norway
Old 03-25-2005 , 15:19   cs_set_user_bpammo broken?
Reply With Quote #1

I try to set a weapons ammo count using this exact command:
Code:
cs_set_user_bpammo( playerID, CSW_M249, 50 )
The only thing that happens is that the ammo hud flashes, like it should change, but it doesn't. What do I do wrong?

- VV
VarmVaffel is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-25-2005 , 17:19  
Reply With Quote #2

Make sure you set this on a player and not a weapon as it defines the amount of ammo in that user's backpack.... for that ammo type.
Johnny got his gun is offline
VarmVaffel
Member
Join Date: Feb 2005
Location: Norway
Old 03-25-2005 , 18:54  
Reply With Quote #3

edit: never mind, I just used an old version of cs 1.6 for test server...
Thanks for the help though
VarmVaffel 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 09:55.


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