Raised This Month: $ Target: $400
 0% 

FuncIdx question.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 08-04-2008 , 12:23   Re: FuncIdx question.
Reply With Quote #4

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.
__________________
No support via PM.

Last edited by Lee; 08-04-2008 at 12:26.
Lee is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode