[Help]Includes
Hi, I'm learning how to script, and I want to know this:
How do I know what includes I have to put in my script (depending of what I scripted). thx in advance |
Re: [Help]Includes
depends what you need
u need to include <amxmodx> in everything, after that its up to you the most used are <fun> <fakemeta> <hamsandwich> and <engine> different mods have different includes aswell for instance counter-strike uses <cstrike> for stuff like weapons and teams (i dont play any other mods, so i dunno any other mod specific incs) |
Re: [Help]Includes
ok, when I use fun fakemata hamsandwich and engine? :D
|
Re: [Help]Includes
whenever u need them
they each have different functions that arent included in any other include (apart from fakemeta and engine) |
Re: [Help]Includes
I know that each include does something different oO
but I want to know when I have to use each one, the example you made <cstrike> is great, it was the only I got ( and <amxmodx> that I already knew ;D ) |
Re: [Help]Includes
they sometimes do the same thing but on another way.
maybe for a start look @ http://www.amxmodx.org/doc/ @ function references. (note : its for amx 1.6 or smthing but has the most included) |
Re: [Help]Includes
Use whatever functions you want. Compile. If it fails then add the include. Compile. If it fails you added the the wrong include or not enough.
|
Re: [Help]Includes
If I add all includes, if the plugin dont use it will come this?
warning: #include <Example> is never used something like this? thx, when I get better on script I'm gonna know but not this way ;D |
Re: [Help]Includes
if you include and include that is never used, no error will appear and the plugin will still run as it should
its not a good habit to get into though (including everything, but not using much of it) |
| All times are GMT -4. The time now is 04:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.