Raised This Month: $32 Target: $400
 8% 

Include xs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 06-22-2018 , 08:30   Include xs
Reply With Quote #1

Hey friends, I see lots of plugins. Authors use "#include <xs>"
but I searched, there have just some stocks in xs include. Not natives or anything.

Is it optimized to use include xs instead of using stock in plugin?
Which type is the most optimized?

Spoiler
PurposeLessx is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-22-2018 , 08:40   Re: Include xs
Reply With Quote #2

It's exactly the same whether you include it or copy the code in your plugin. So, logically, you should always just include xs.
__________________

Last edited by klippy; 06-22-2018 at 08:41.
klippy is offline
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-22-2018 , 08:42   Re: Include xs
Reply With Quote #3

It's the exact same thing. If you want to define the stocks everytime you want to use em then go for it.
__________________
stuff
maqi is offline
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 06-22-2018 , 10:15   Re: Include xs
Reply With Quote #4

Isn't bad thing to use stock in plugin? A friend said to me that and I stopped using stock
PurposeLessx is offline
shauli
Member
Join Date: Jun 2018
Old 06-22-2018 , 10:26   Re: Include xs
Reply With Quote #5

Quote:
Originally Posted by PurposeLessx View Post
Isn't bad thing to use stock in plugin? A friend said to me that and I stopped using stock
That's not a bad "thing", maybe just a bad habit. If you're 100% sure you're going to use the function in your plugin then it shouldn't be a stock, and if you're not going to use it - it shouldn't be there at all.
shauli 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:48.


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