Skip to content

Changelog

All notable changes to the Asterion FiveM Lua API are documented here.

1.2.0 — 2026-09-25

Added the UI API — an immediate-mode renderer for building custom menus and overlays.

UI

  • Frame control — Asterion.BeginFrame, Asterion.SubmitFrame.
  • Draw primitives — lines, rectangles (filled / rounded / gradient / border / shadow), circles, text and images.
  • Clip rects — Asterion.PushClipRect, Asterion.PopClipRect.
  • Fonts — Asterion.LoadFont, Asterion.LoadTTFCloud, Asterion.CalcTextSize and built-in font IDs.
  • Images — Asterion.LoadImage, Asterion.LoadImageFromUrl (async, animated GIF supported).
  • Input — mouse position / wheel / buttons, keyboard, and mouse-control capture.
  • State — Asterion.ScreenSize, Asterion.MenuOpen, Asterion.DeltaTime, Asterion.SetTickCallback, Asterion.Log.

1.1.0 — 2026-09-19

Injection & Execution

  • Asterion.InjectResource3 — an even stealthier variant of InjectResource2; also masks the injection from Lua call-stack inspection.

1.0.0 — 2026-09-17

First public release of the FiveM scripting API.

Combat

  • Asterion.SendDamage — damage a single player or entity.
  • Asterion.SendDamageAll — damage every player within a radius.

Threads

  • Asterion.Thread — start a repeating background loop, returns an id.
  • Asterion.StopThread — stop one thread, or all of them.

Injection & Execution

  • Asterion.Isolated — run code in the FiveM isolated runtime.
  • Asterion.InjectResource — run code inside a resource's environment.
  • Asterion.InjectResource2 — run code directly in a resource's _ENV.
  • Asterion.InjectThread — add a Citizen thread to a resource.
  • Asterion.HijackResource — replace a resource's next tick.
  • Asterion.InjectJS — run JavaScript in a resource's NUI.

Versioning

The API follows semantic versioning. Breaking changes only ship in a major release and are always listed here first.