[STANDALONE] Sit Anywhere

Maybe? Maybe not? What you could do is open a ticket in my Discord, which you can find in the description of all my videos. Post some clips of the script not working, and we can try to figure it out together :+1:

And no, after adding the stairs, I haven’t worked on this script further, as I have no idea what to add next :sweat_smile:

1 Like

Thank you, I will come in and we can chat it out with thoughts of what might be happening, I appreciate it. :heart:

So how would you go about adding chairs or will it sit on any chair?

It will sit on any chairs that looks like… well… chairs :+1:
As long as you can stand in front of said chairs and have your ped facing it, you will be able to sit on it without having to config anything

Even if they are custom chairs? Because I have the town bar and grill and I believe they have custom stools.

Entity Model: -1120527678

Can’t seem to find it on any gta 5 model sites. So I’m pretty sure they are custom

Yes, as I said, as long as they look like chairs/tools/benches it will work

does this support qb at all?

It’s standalone, it will work with any framework :+1:

:chair: Update Alert :chair:

Changelog:

  • Added anti-spam protection to prevent animation glitches
  • Fixed camera getting stuck up your backside when sitting
  • Integrated height adjustment system for different player models/clothing
  • Added cooldown after standing up to prevent stuttering
  • Added notification when trying to sit while getting up
  • Improved entity reference handling for better performance
2 Likes

:chair: Update Alert :chair:

Changelog:

  • Added toggle notification mode with persistent/temporary handlers for show/hide systems like ox_lib
  • Moved hardcoded configuration parameters from Config to local variables for optimization
  • Enhanced ledge detection system with edge proximity checking
  • Implemented parallel batch processing for quicker operations
  • Optimized logic operations with asynchronous processing
  • Improved heading calculations for more natural sitting angles in most scenarios

:chair: Update Alert :chair:

Changelog:

  • Added keybind system for getting up from seats and reorganized this part of the config file
  • Modified ground detection raycast to always include vehicles in flag to ensure proper ground detection when sitting near or on vehicles
  • Added movement speed check to prevent sitting while player is moving/climbing/falling
  • Added proper INPUT names for notifications based on selected get-up method
  • Simplified configuration

I will try it