If you attempt to recompile it under AMXX 1.70, you'll get an error on bDwarfAmmo not having an array index. This has always been an error but prior versions of AMXX didn't pick it up. Fortunately, this is an unnecessary bit of code and can simply be deleted.
I don't recall what line number the error is on, the compiler will tell you. Go to that line and simply delete the bDwarfAmmo[iParm[0]] bit.
Should look something like this:
Code: Select all
if(is_user_connected(id) && bDwarfAmmo[iParm[0]] && is_valid_ent(iParm[2]))
Code: Select all
if(is_user_connected(id) && is_valid_ent(iParm[2]))