Script

From GTAMods Wiki
(Redirected from Thread)
Jump to navigation Jump to search

A script is a collection of instructions that performs a specific task when executed by a virtual machine.

Mission Script

Opcodes:

  • 00D7 – Starts a script
  • 004F – Starts a script with additional parameters
  • 004E – Ends the current script
  • 03A4 – Gives a name to the script
  • 0459 – Ends a named script

CLEO Opcodes:

  • 0A92 – Starts a CLEO script
  • 0A93 – Ends a CLEO script
  • 0A95 – Enables saving for a CLEO script
  • 0A9F – Returns the pointer to the current script
  • 0AAA – Returns the pointer to a named CLEO script
  • 0ABA – Ends a named CLEO script

Native functions:

This section is incomplete. You can help by fixing and expanding it.

See also

External links