Raised This Month: $ Target: $400
 0% 

Question about API tutorial


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 03-20-2014 , 13:37   Question about API tutorial
Reply With Quote #1

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.

Last edited by ~Ice*shOt; 03-20-2014 at 13:39.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-20-2014 , 13:44   Re: Question about API tutorial
Reply With Quote #2

What specific code are you talking about?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 03-20-2014 , 13:56   Re: Question about API tutorial
Reply With Quote #3

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?

Last edited by ~Ice*shOt; 03-20-2014 at 13:57.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-20-2014 , 14:39   Re: Question about API tutorial
Reply With Quote #4

You cannot compare an API with Forwards to one with Natives. They perform different functions are most API's use both
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 05:55.


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