Skip to main content

Gamemodes auf einem Linux System kompilieren

Compiler herunterladen

Wir finden den Compiler auf GitHub, einfach den aktuellsten Release herunterladen 

mkdir -p /tmp/pawn && cc /tmp/pawn
wget -q -O - https://github.com/pawn-lang/compiler/releases/download/v3.10.10/pawnc-3.10.10-linux.tar.gz | tar xvzf -
chmod a+x /tmp/pawn/pawnc-3.10.10-linux/bin/pawncc

Wir finden die Compiler-Executable dann im Verzeichnis /opt/pawn/pawnc-3.10.10-linux/bin/pawncc

Compiler ausführen und .amx Datei erzeugen

Hierzu legen wir 

/opt/pawn/pawncc "-iinclude" "gamemodes/$filename"  "-;+" "-v2" "-d3" "-Z+" "-(+"