soggy.Documentation Back to Soggy ↗

Lua documentation

API reference, events and examples for scripting in Soggy.

API reference

Example

-- Draw text while in-game.
local function on_paint()
    renderer.text(24, 24, 255, 255, 255, 255, "", 0, "Hello, world!")
end

client.set_event_callback("paint", on_paint)

Getting started · Events · 2018 compatibility

Type to search guides, functions and events.