Waypoint Seats is a simple, standalone script that adds a “sit” target option to chairs around the map.
This script also works well with Waypoint Placeables, users can carry chair items and place them anywhere around the map (such as folding camping chairs, plastic chairs, etc), allowing them to put together their own seating areas anywhere they want.
Preview: https://youtu.be/dxhkJY5AXkM
Github Repo: GitHub - WaypointRP/wp-seats
Usage
- Target chair and sit in the chair
- Press E or ESC to standup from the chair
- Only one player can sit in a chair at a time, using statebags to keep track if the chair is occupied
- Chairs can be placed and picked up anywhere using Waypoint Placeables
Note: If the players path to walk to and sit down on the chair is obstructed, there is a timeout (
Config.SitScenarioTimeout
) that will run and teleport the player into the chair after the timeout. This adds more flexibility and lets players sit in chairs that are close to tables or other objects.
Dependencies
Aside from a targetting script, this script is standalone and does not require any other resources to function.
- QBCore / OX for Target
- Optional:
- QBCore / ESX / Or other frameworks (must implement framework specific solutions in framework.lua)
- QBCore / ESX / OX for Notifications
Credit
Originally based on qb-sit, but has been almost completely rewritten to be standalone, more performant and fix bugs.