For all cases, you should put. Sma file to addons / amxmodx / scripting.
for Windows
drag and drop
1.Peretaschite. Sma file to "compile.exe".
2.Otkompilirovanny. Amxx file in the directory will be compiled.
Compile all plugins
1.Dvazhdy click compile.exe, to compile all the plugins and put them in a directory compiled.
Command Line
1.Zaydite in the "Start" "Run", type "cmd", click Ok.
2.Ispolzuyte cd, to change the directory, for example:
Code
cd c:\hlserver\cstrike\addons\amxmodx\scripting
3. Use amxxpc, to compile the plugin:
Code
amxxpc.exe myplugin.sma
for Linux
First, go to the scripting directory in your shell as follows
Code
cd addons/amxmodx/scripting
Compile all plugins
1. Run the script compile.sh one of the following:
Code
sh compile.sh
or
Code
chmod +x compile.sh
./compile.sh
Compiling a single plug-in
1. Start amxxpc, for example
Code
./amxxpc myplugin.sma
2. The compiled plugin in the same directory.