Use this version: https://github.com/oscar-broman/samp-weapon-config
It's already compatible with both SA-MP and open.mp, so there's no point in keeping this fork around. If for some reason you still need something from this repo, feel free to check the commit history.