Talk:Adding a Weapon Drop System
I think it strange method of realization o_0 It may be a little easier if you just make a console command for drop function and no button definition will be needed. Also current code needs to check some player conditions as example if player in vehicle or iron-sight mode enabled or not (if it implemented), and check for availability (can player drop this weapon or not). --Light_Kill 11:52, 10 October 2012 (PDT)
Hello Light_Kill, thank you for writing this down.
Indeed, you are right that the function call was not well made in terms to say that there were no condition checks. I managed to add a few conditions in the call sequence and added a new ConVar at your request. The tutorial has been updated. Thank you. - malortie.
Hi malortie, i glad to see updates of this page :D
The ConVar addition is really useful for some mods. I will try to improve this article to check more conditions. --Light_Kill 05:22, 15 October 2012 (PDT)