Client API
Everything documented for Client API is listed below.
Everything documented for Client API is listed below.
In this section
koja-lib provides a callback system that lets client scripts request data from the server and vice versa.
Client-side inventory functions let you check what items the local player has without a server round-trip.
DUI (Dynamic UI) allows you to render a web page as a texture on any in-game surface — screens, billboards, laptops, phones, etc.
Retrieve the local player's money balance from the client side via a server callback.
Register persistent key bindings that players can rebind in the GTA V settings menu.
koja-lib provides two notification interfaces: SendNotify (routes through the configured backend) and LibNotify (built-in koja-lib notification).
Functions for reading the local player's data on the client side.
The points system lets you define coordinate-based trigger zones.
A progress bar with optional animation and input blocking.
koja-lib plays audio through its NUI page.