View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-09-2017 , 11:24   Re: OnWeapon_Precache error
Reply With Quote #19

No, we won't. You are in scripting HELP section, not "do it for me" section. You have to actually do it based on what people tell you.

Code from #16 is good, remove get_weaponname(iWeaponId, Something[i], charsmax(Something)) . Try to understand why you are doing something, then things will be much more clear. If you can't figure out, then ask and we will explain. You did the constant with all the weapon in order to replace get_weaponname, because it's not working in plugin_precache, so why would you still use that native?
__________________

Last edited by HamletEagle; 08-09-2017 at 11:27.
HamletEagle is offline