Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling Plugins
#1
For Windows:

Drag and Drop Method:
  1. Drag the .sma file onto "compile.exe".
  2. The compiled .amxx file will be located in the ../compiled/ directory.

Compiling All Plugins:
  1. Double-click on compile.exe to compile all plugins and place them in the ../compiled/ directory.

Command Line Method:
  1. Go to "Start" -> "Run" -> type "cmd" and press Ok.
  2. Use 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
  4. The compiled plugin will be in the same directory.


For Linux:

First, navigate to the scripting directory in your shell:
Code:
cd addons/amxmodx/scripting


Compiling All Plugins:
  1. Run the compile.sh script using one of the following methods:
    Code:
    sh compile.sh
    or
    Code:
    chmod +x compile.sh
    ./compile.sh

Compiling a Single Plugin:
  1. Run amxxpc, for example:
    Code:
    ./amxxpc myplugin.sma
  2. The compiled plugin will be in the same directory.
Fullserver.su Head Administrator
My DMs are not Technical Support. For Technical Support go here: You are not allowed to view links. Register or Login to view.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)