AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   nvm (https://forums.alliedmods.net/showthread.php?t=184662)

iStrike 05-07-2012 12:42

nvm
 
Do You Think this is to much includes for a JailBreak Mod ?
Code:

#include < amxmodx >
#include < hamsandwich >
#include < fakemeta >

Thanks for giving your opinion thats for my JailBreak Mod :wink:

<VeCo> 05-07-2012 12:45

Re: Question about includes
 
It's depending on what functions you are using...

iStrike 05-07-2012 13:00

Re: Question about includes
 
Quote:

Originally Posted by <VeCo> (Post 1704305)
It's depending on what functions you are using...

ummm....... most of the include's function that i mentioned
its not a small mod its an awesome One :P ( Despite the fact that i'm a Begginer - average )

Liverwiz 05-07-2012 22:32

Re: Question about includes
 
"Too many includes" is quite a relative statement. I've had this discussion with many a programmer and consensus is "grab what you need, it doesn't matter how many packages you use" of course if you can find another way that'll cut down an import: go for it! But it doesn't really matter much. Just keep your code efficient.

Silent9681 05-08-2012 01:06

Re: Question about includes
 
Hm..
amxmodx - it's important :D
cstrike - for team change(/nomic), i think
engine - for cell open(/open), i think
hamsandwich - for crowbar damage

fakemeta_util and xs - I don't know what exactly u r using it for.

<VeCo> 05-08-2012 08:30

Re: Question about includes
 
fakemeta_util contains many stock functions written with fakemeta natives, which can be found in fun and engine modules and you can use them instead of including more libraries.
XS is a library that contains various stock funtions, but most used of them are these for vector manipulations.

(You can see more by opening them, they have explanations in the comments)


All times are GMT -4. The time now is 00:20.

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