Raised This Month: $ Target: $400
 0% 

CreateMultiForward questions.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 08-14-2014 , 08:37   Re: CreateMultiForward questions.
Reply With Quote #1

If you need to use byref parameters you have to resort to callfuncs, they have a purpose. Otherwise OneForwards are better, and MultiForwards certainly are better than callfuncs if your use case allows for them to be used. With OneForwards and especially MultiForwards the AMXX core does more and more work that your plugin can't do as efficiently with callfuncs.
__________________
In Flames we trust!
Nextra is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-14-2014 , 15:21   Re: CreateMultiForward questions.
Reply With Quote #2

The only good use that I've seen for callfunc is when you don't have control over the plugin for which you are making your plugin compatible. So, for example, the original gungame by Avalanche required their use because he had no control over the map chooser plugins that might be used on the servers that are trying to run GunGame.

There are probably other good uses but in your case, you shouldn't be using them.
__________________

Last edited by fysiks; 08-14-2014 at 15:21.
fysiks is offline
Reply



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 13:05.


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