Help
Help
Language Options:
-fswitch Enables the SWITCH statement.
-farrays Enables the use of arrays.
-fconst Enables the use of CONST_INT and CONST_FLOAT.
-ftext-label-vars Enables VAR_TEXT_LABEL and VAR_TEXT_LABEL16.
-fskip-cutscene Enables the use of SKIP_CUTSCENE_START.
-fscript-name-check Checks for duplicate SCRIPT_NAMEs.
-fentity-tracking Tracks entity types in variables.
-fbreak-continue Allows the use of BREAK and CONTINUE in all
statements, including WHILE and REPEAT.
-fstreamed-scripts Enables the use of streamed scripts and generates an
associated script.img archive.
-fscope-then-label When combined with -pedantic, outputs a error message
whenever a label is used before a curly bracket
instead of after.
-funderscore-idents Allows identifiers to begin with a underscore.
-flocal-var-limit=<n> The index limit of local variables.
-fmission-var-limit=<n> The index limit of mission local variables. Defaults
to -flocal-var-limit if not set. Use -1 to unset.
-fmission-var-begin=<n> Mission variables will start from the index <n>.
-ftimer-index=<n> The local variable index of TIMERA.
-fswitch-case-limit=<n> The limit on the number of CASE in a SWITCH.
-farray-elem-limit=<n> The limit of array elements in a single array.
-frelax-not Allows the use of NOT outside of conditions.
-fcleo Enables the use of CLEO features.
-fmission-script Compiling a mission script.
Machine Options:
-mno-header Does not generate a header on the output SCM.
-mheader=<version> Generates the specified header version (gta3,gtavc,
gtasa).
-mlocal-offsets Label offsets are referenced locally and relative
to the offset 0 of the compiled script.
-mq11.4 Codegen uses GTA III half-float format.
-mtyped-text-label Codegen uses GTA SA text label data type.
-moptimize-andor Omits compiling ANDOR on single condition statements.
-moptimize-zero Compiles 0.0 as 0, using a 8 bit data type.
-moatc Uses the Custom Commands Header whenever possible.