ham_strip_weapon.Won't strip.
When I give a weapon(ham_give_weapon) ,yes it gives, but won't be stripped by Level, what the problem???
P.S. fm_strip_user_weapons works,but I don't want strip all weapons. PHP Code:
|
Re: ham_strip_weapon.Won't strip.
Quote:
PHP Code:
|
Re: ham_strip_weapon.Won't strip.
I don't wanna drop it ^^ I need strip it.
P.S. It strips by level. Why ham_strip won't strip? And why fm_strip_user_weapons works fine(it strips,but I need not all weapons.) |
Re: ham_strip_weapon.Won't strip.
What does strip mean to you?
1. Drop a single weapon and leave it on the ground. 2. Drop a single weapon and delete it from the map. 3. Remove all of a players weapons and leave on ground. 4. Remove all of a players weapons and delete from map. |
Re: ham_strip_weapon.Won't strip.
Quote:
PHP Code:
|
Re: ham_strip_weapon.Won't strip.
Quote:
http://forums.alliedmods.net/showthread.php?t=56377 |
Re: ham_strip_weapon.Won't strip.
Quote:
|
Re: ham_strip_weapon.Won't strip.
To strip all weapons, fun native is better.
To strip 1 weapon, use the ham stock or fm_strip_user_gun. |
Re: ham_strip_weapon.Won't strip.
ham_strip_weapon - not working with WEAPONCONST[PlayerLevel[id]] - won't strip.
ham_give_weapon - works with WEAPONCONST[PlayerLevel[id]]. fm_strip_user_weapons(id) - just works,but I don't want strip all weapons :/. P.S. Tryied : fm_strip_user_gun , same thing like ham_strip. |
Re: ham_strip_weapon.Won't strip.
From what i've seen (1st post), the player level doesn't change after you try to strip and before you try to give, so i think this is the problem.
You would have to strip the weapon, then update the level, then give the new weapon. |
| All times are GMT -4. The time now is 02:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.