Sit Creator
Installation
Installation
1. Drop the resource
Extract the package into your resources folder. The final path should look like:
server-data/resources/[suty]/suty-sit/
Keep the folder name exactly suty-sit: a renamed copy loads but does nothing.
2. Start it in server.cfg
ensure oxmysql
ensure ox_lib
# your framework, if any (qbx_core / qb-core / es_extended)
ensure qbx_core
# ox_target or qb-target
ensure ox_target
ensure suty-sit
suty-sit must start after oxmysql, ox_lib and the target system. The framework is optional: without one the resource runs standalone.
On a healthy boot the console prints the SUTY SIT banner with the version and Loaded, then the framework it found:
[suty-sit] framework: qbx
3. Database
Nothing to import. On first start the resource creates its own table:
| Table | What it stores |
|---|---|
suty_sit_points |
One row per seat point: position, heading and whether it was adjusted |
4. ox_lib permissions (admin ACE)
suty-sit gives its admin permission to the ACE group in Config.Permission (default group.admin) through ox_lib. That needs ox_lib's standard permission lines in your server.cfg, which most ox servers already have:
add_ace resource.ox_lib command.add_ace allow
add_ace resource.ox_lib command.remove_ace allow
add_ace resource.ox_lib command.add_principal allow
add_ace resource.ox_lib command.remove_principal allow
Framework admins also count: QB-Core permissions, ESX groups and Qbox groups listed in Config.AdminGroups. See Commands → Who is an admin.
5. Animations for every style
Six styles use base-game animations. The other eight (Cruzada 2, Elegante, Hacia adelante, Brazos cruzados, Butaca, Con laptop, Con tablet and Leyendo) use custom sitting animations that suty-sit doesn't ship. rpemotes-reborn streams them with its custom emotes, so make sure it runs on your server.
Without those animations, picking one of the eight styles fails and F8 shows attempted to load invalid animDict 'mouse@…'. Start rpemotes-reborn, or remove those eight entries from Config.SitEmote.
6. Create your first seat
- As an admin, type
/createchair. - A see-through preview ped follows your aim. Point at the seat surface: mouse wheel turns it, ↑ / ↓ raises or lowers it, E changes the style, SHIFT makes the moves finer.
- Click to place it. The gizmo opens: drag the arrows (W) or the ring (R), and press ALT for a free camera.
- Press ENTER to save. You're back to aiming, ready for the next seat. ⌫ exits.
- Walk up to the seat, aim at it with the target eye and pick Sit down.
