Add OnRuntimeError(error_code) callback
Replace usages of amx() with amx_ in own methods