Hmm, remove the code where its reporting the error and add this instead:
Code:
public test123() {
new hostageprotect[32]
get_cvar_num("amx_hostageprotect",hostageprotect,31)
if (equal(hostageprotect,"0")) {
return PLUGIN_HANDLED;
}
}
Then add test123 to plugin_init, e.g:
Code:
public plugin_init() {
test123
}