Need help with /give weapon
#3

Quote:
Originally Posted by Norck
Посмотреть сообщение
There is no function that removes only one weapon. But there is a function that removes all player's weapons. So you can put all player's weapons into an array using GetPlayerWeaponData, then remove all weapons using ResetPlayerWeapons and then give all weapons back (excluding a weapon that player should give to another player).
Hmm, that is making it more complicated then it should be, but if it is the only solution thanks for helping

I really think there should be a function like ClearPlayerWearingWeapon or something,.. would be usefull
Reply


Messages In This Thread
Need help with /give weapon - by milanosie - 27.01.2012, 11:23
Re: Need help with /give weapon - by Norck - 27.01.2012, 11:58
Re: Need help with /give weapon - by milanosie - 27.01.2012, 12:03
Re: Need help with /give weapon - by MP2 - 27.01.2012, 12:04
Re: Need help with /give weapon - by henry jiggy - 27.01.2012, 12:06
Re: Need help with /give weapon - by MP2 - 27.01.2012, 12:15
Re: Need help with /give weapon - by henry jiggy - 27.01.2012, 12:16
Re: Need help with /give weapon - by milanosie - 27.01.2012, 12:18
Re: Need help with /give weapon - by henry jiggy - 27.01.2012, 12:23
Re: Need help with /give weapon - by MP2 - 27.01.2012, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)