AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   cs_set_user_bpammo broken? (https://forums.alliedmods.net/showthread.php?t=11658)

VarmVaffel 03-25-2005 15:19

cs_set_user_bpammo broken?
 
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

Johnny got his gun 03-25-2005 17:19

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.

VarmVaffel 03-25-2005 18:54

edit: never mind, I just used an old version of cs 1.6 for test server...
Thanks for the help though :)


All times are GMT -4. The time now is 09:55.

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