strip weapon without disturb
Hello,
Im facing one problem,i want to give a player a gun and strip it immediately i have tryed to use ham strip weapon HTML Code:
stock ham_strip_user_weapon(id, iCswId, iSlot = 0, bool:bSwitchIfActive = true) |
Re: strip weapon without disturb
Why would you give a weapon and then immediately strip it?
Regarding your second comment, are you trying to make it not switch to the next best weapon in the inventory? What do you want to happen when a weapon is stripped? |
Re: strip weapon without disturb
Im doing this only for itempickup message for custom sprite when i get item and yes i dont want to switch to the next best weapon in inventory, what i want for example if im shooting with a secondary gun and i have a primary gun in inventory, if i get a random primary gun and strip it then it gonna choose the best gun it means it gonna be a primary gun but i was using a secondary, so i want it to stay to secondary not primary the same problem with knife.
|
Re: strip weapon without disturb
Did you try removing this from the above?
PHP Code:
Code:
/** |
Re: strip weapon without disturb
Yes if i remove this then it would be okay, but then for some reason i cant use then current gun.
|
Re: strip weapon without disturb
Anyway thanks for the help adjusted like i needed with cmd and few offsets. Solved
|
| All times are GMT -4. The time now is 04:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.