Raised This Month: $51 Target: $400
 12% 

[CS:S] EquipPlayerWeapon reset reserved ammo?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 08-04-2016 , 19:59   [CS:S] EquipPlayerWeapon reset reserved ammo?
Reply With Quote #1

Hello

I'm trying to force a client to pick up a weapon from the ground.
If the client touch it, it has the normal amount of reserved ammo.

But if I use EquipPlayerWeapon(client, weapon), then the reserved ammo is 0.

Is that the expected behavior? and can someone explain why?

If that is the expected behavior, that other solutions is there then? I looked a bit on saving the reserved ammo amount before pickup and then restore it after pickup, but got a bit confused about how it work..

Regards Kristian
klausenbusk 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 15:56.


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