Yes, that is the answer to your request. You can either use the AMX Mod X error handler (you'd be the first person I've seen to do so), or much more simply, do this;
Code:
new callSuccess = callfunc_begin("sayNextMap", "nextmap.amxx");
if(callSuccess < 0)
{
server_print("CallFunc Error: %s not found.", callSuccess == -1 ? "Plugin" : "Function");
return;
}
callfunc_end();
This should be obvious after reading the documentation.
__________________