The solution to the sourcepawn script error (not AMX Mod X) was replacing spaces with a tab. After copying a line from someone who used spaces rather than tabbing over like in the rest of my script, decompile error 217 loose identation popped up. To my understanding you have to align code to fix error 217 in this case.