Wanna know how to set weapon clip
Hey...
I just wanna kow how to set the clip at weapons... I tried to look in "Awp one shot" and replace "awp" with "m4a1"... But then my cs says that i have one shot in my m4a1 but it first reload after firering 30... Can someone help me? Plz... |
Re: Wanna know how to set weapon clip
cs_set_weapon_ammo ( index, 1 ), where index is the index of the entity, not player.
So you have first to get the index of "your" m4a1. http://www.amxmodx.org/funcwiki.php?go=func&id=208 So for a m4a1 for example : new entity_index = fm_get_user_weapon_entity(id, CSW_M4A1) cs_set_weapon_ammo (entity_index, 1 ) Open fakemeta_util to see fm_get_user_weapon_entity source code |
| All times are GMT -4. The time now is 01:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.