Skip to content

1.0.6

Compare
Choose a tag to compare
@x87 x87 released this 26 Dec 20:54
· 17 commits to master since this release
  • new built-in functions addEventListener and dispatchEvent. See https://re.cleo.li/docs/en/events.html
  • add setTimeout, setInterval, clearTimeout, clearInterval. See https://re.cleo.li/docs/en/api.html
  • add .cs, .js, .ts to the list of allowed file extensions for CLEO.runScript
  • fix a rare deadlock causing scripts to stop on timeout
  • fix an issue causing script failures after hot reload
  • fix an issue when Bully commands returned incorrect values

SDK AND PLUGINS

  • new SDK method TriggerEvent to trigger custom events with some payload. SDK version is now 7.
  • new Events plugin that brings in a few events to react on in JS/TS code: OnVehicleCreate, OnPedCreate, OnObjectCreate, OnVehicleDelete, OnPedDelete, OnObjectDelete
  • IdeLoader 1.3: generate ide_loader.d.ts for better intellisense in TS scripts
  • TxtLoader 1.1: generate txt_loader.d.ts for better intellisense in TS scripts

BREAKING CHANGES


Thanks to @VitalRus95 for the help with testing.