Skip to main content

Player

The player module is available on the client. It is automatically exposed as sure.player when @sure_lib/init.lua runs on the client.

Shortcuts

Inventory, accounts, and loadout lookup

The module returns live ESX lists and adds string-key lookup helpers.
Loadout lookup normalizes weapon names, so pistol, weapon_pistol, and WEAPON_PISTOL resolve to the same ESX loadout entry.

Startup pattern