Search requires javascript to work
native custom_weapon_add( const wpnname[],melee = 0,const logname[]="" );
function will return index of new weapon