This is a rework of the esx_sit script to use only the ox_lib and ox_target systems. This script allows you to sit on chairs, benches, beds, and other objects in the game world. You can configure the sit positions, animations, and keybinds in the config file.
- Download the latest release from here or clone the repository.
- Extract the zip file and rename the folder to ox_sit.
- Copy the folder to your server resources directory.
- Add
ensure ox_sitto your server.cfg file. - Enjoy!
- To sit on an object, press the keybind defined in the config file (default: X).
- To stand up, press the same keybind again.
- You can only sit on one object at a time.
Here are some screenshots and videos of how ox_sit works in the game:
- [Screenshot 1]: Sitting on a chair in a restaurant.
- [Screenshot 2]: Sitting on a bench in a park.
- [Screenshot 3]: Sitting on a bed in a hotel room.
- [Video 1]: A demonstration of the sit animations and keybinds.
- [Video 2]: A showcase of the ox_target integration and interaction.
- Original author: CmJustice
- Conversion to ox_target: jenniferr0
- Rework to ox_lib: ControlTheNarrativ3
-
This resource is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.
-
The GNU General Public License does not permit incorporating your program into proprietary programs.