Check weapon name
I want to remove the weapon that the person is holding. So how would i go about doing that....
As of right now im using strip_users_weapons from the fun module Then giving them a knife. but would rather just strip the first weapon. |
Re: Check weapon name
|
Re: Check weapon name
Quote:
Yea.... dosent work for what im trying to do... even let it use csw but it dosent allow me to do like new weapon = cs_get_user_weaponid(ent) if(weapon == gMyWeapon[sizeof gMyWeapon]) { ham_strip_weapon(id, weapon) } |
Re: Check weapon name
huh?
Code:
gMyWeapon[sizeof gMyWeapon]index out of bounds ham_strip_weapon takes a string ("weapon_weaponname") |
Re: Check weapon name
Quote:
Right and all the return names get csw_awp not weapon_awp Its all good i think ill just keep it striping all weps.... and give knife |
Re: Check weapon name
http://www.amxmodx.org/funcwiki.php?...name&go=search
Code:
|
Re: Check weapon name
Solved... Thanks
|
| All times are GMT -4. The time now is 17:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.