[HELP] Setting user's weapon ammo
I used this(in cstrike.inc)
Code:
native cs_set_weapon_ammo(index, newammo);Code:
cs_set_weapon_ammo(CSW_SCOUT, 0);Or i can only set a minimum of 1? |
Re: [HELP] Setting user's weapon ammo
index is the weapon entity, not the weapon type.
|
Re: [HELP] Setting user's weapon ammo
Oh didn't notice that. Thanks.
EDIT: It compiles fine but still same thing. Shows 0 ammo but the user still can shoot 10 bullets(Scout) |
| All times are GMT -4. The time now is 17:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.