Config.Target can’t be 'false'
, it needs to be false
.
So instead of this:
Config.Target = 'false'
You need to do this:
Config.Target = false
Config.Target can’t be 'false'
, it needs to be false
.
So instead of this:
Config.Target = 'false'
You need to do this:
Config.Target = false
Purchased today and the resource just won’t start. No errors in the logs either. This is the config file I am using.
config.lua (10.8 KB)
Do you know what this error is?
1SCRIPT ERROR: @sit/client.lua:849: No such export AddTargetModel in resource false^7
The error tells us that the resource called “false” does not have any export called “AddTargetModel”.
Do you have Config.Target
still set to “false”? Config.Target
needs to be false (boolean) or a valid target resource.
Hello!
The config file seems fine, you say that the resource just won’t start, what do you exactly mean by that? If you do ensure sit
in the server console does it not say anything at all?
Or is it that the script doesn’t do anything when you’re in-game? As per the config you have you’ll have to do /sit to sit down (you have both targeting and prompts disabled), maybe the chair you tried it on is not dynamic?
Im getting the same error now, as of recent update.
I dont think they meant to include “false^7” in their above message.
Heres an image of mine:
Looks like qtarget does not support “AddTargetModel”
What do you have Config.Target set to?
Config.Target = ‘qTarget’
---------- Edit -------------
Wait, im an idiot… i think that T needs to be lowercase. lol.
-------- Edit 2 ------------
Can confirm. lol. It works now. Sorry!
All good!
Are we able to have three people sit on a 3 seat couch?
We have added the seats but doesn’t seem we can get the third person able to sit down?
Hello!
You should be able to get 3 people to sit down on the same couch, however, the script does do some distance checks, so the spots might be too close if the couch is a little small. Try to enable Config.Debugmode
and see what it shows.
Love the script, it’s just essential now for our roleplay. Just the ease of using target to immediately sit without having to line up at all.
However, I do have a suggestion. I have coded the script to use ox_lib’s text ui instead of default GTA help text as it is a toggle, not something that has to be fired every tick. This will increase the performance even more and will keep the ms at a constant 0.00. Even while sitting.
I feel like implementing this in the script itself would be very handy for people who would want to use ox_lib instead but don’t know how to implement it.
I’ll definitely take a look into adding this in as an option, thank you for sharing your thoughts!
how do u sit on ledges and stairs?
been trying to do this myself
target them
How do you turn off the e button so only third eye works?
Hello!
If you set Config.UsePrompts
to false in the config.lua file you shouldn’t be able to use the e button to sit down.
The new update includes sitting models for the new Gabz team MLO’s (Burgershot, KOI and Pearls), as well as polys for the Uniqx Burgershot.
Changelog
would love if you could do unclejust prison and casino