Skip to content

globals

These are pre-defined variables that are loaded in each Lua script.

MEM

Description

These variables are used for functions like entity:read and configuration:get.

  • MEM_BOOL
  • MEM_FLOAT
  • MEM_INT
  • MEM_STRING
  • MEM_VECTOR
  • MEM_SHORT
  • MEM_DOUBLE
  • MEM_DATA
  • MEM_ADDRESS
  • MEM_BYTE
  • MEM_LONG (jni module only)

GAME IDS

Description

These are the game identification numbers of games FC2 automatically recognizes.

  • GAME_NONE
  • GAME_CSGO
  • GAME_TF2
  • GAME_CS2
  • GAME_CSS
  • GAME_MINECRAFT

INJECTION_METHOD

Description

Different injection methods for process:inject.

  • INJECTION_METHOD_STANDARD
  • INJECTION_METHOD_MANUAL_MAP

HKEY

Description

Used for the HKEY parameter in fantasy.blender.

  • HKEY_LOCAL_MACHINE
  • HKEY_CURRENT_USER
  • HKEY_CURRENT_CONFIG
  • HKEY_CLASSES_ROOT
  • HKEY_USERS

TF2_CLASSES

Description

TF2 class indexes.

  • TF2_SCOUT
  • TF2_SOLDIER
  • TF2_PYRO
  • TF2_DEMOMAN
  • TF2_HEAVY
  • TF2_ENGINEER
  • TF2_MEDIC
  • TF2_SNIPER
  • TF2_SPY

MINIMUM_MODE

Description

Minimum protection mode.

  • MINIMUM_MODE_DISABLED
  • MINIMUM_MODE_USER
  • MINIMUM_MODE_KERNEL