AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Question about API tutorial (https://forums.alliedmods.net/showthread.php?t=237225)

~Ice*shOt 03-20-2014 13:37

Question about API tutorial
 
https://forums.alliedmods.net/showth...ght=difference

You may think that I'm stupid, but I'll be glad if someone could explain me what's the difference between first and second code? I know that one is using forwards and another callbacks. I'm asking which should be used in which situation? Maybe one is faster than another or sth like this. Thanks for reply.

YamiKaitou 03-20-2014 13:44

Re: Question about API tutorial
 
What specific code are you talking about?

~Ice*shOt 03-20-2014 13:56

Re: Question about API tutorial
 
For example mod with classes, which would be better? And altogether how to know (how to differentiate) which to choose for one or other mod?

YamiKaitou 03-20-2014 14:39

Re: Question about API tutorial
 
You cannot compare an API with Forwards to one with Natives. They perform different functions are most API's use both


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

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