Knowing what to include..
im starting on scripting and i am starting with making amx_kick, amx_ban, and other scripts that are easy..
the thing is, how do I know what to include?? #include <amxmodx> how I know if it needs cstrike, fakemeta etc? |
Re: Knowing what to include..
You know if you include certain things by the fact that if you use a function that is part of it. For example, set_lights(const Lighting[]) is native to the Engine module, so you would do #include <engine>
To find out all possible functions, and what module they belong to, look at this: http://www.amxmodx.org/funcwiki.php You can also look at the .inc files in the scripting/includes folder for some extra goodies |
Re: Knowing what to include..
wow...great...now im getting it
thank you very much hope u see future plugins from moi |
Re: Knowing what to include..
Quote:
|
Re: Knowing what to include..
Always include <amxmodx> to start then compile often. If functions aren't found you need to include some more stuff...
|
| All times are GMT -4. The time now is 22:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.