#not-cw-support-fivem-talk
1 messages · Page 1 of 1 (latest)
were you able to figure this out? im having the same issue
no i just left it until someone can help
okay soo. I have the qb-adminmenu & when i try to do /admincar or select “buy” from the admin menu on a custom car that i put in, it says “you can’t store this vehicle in your garage”
-All vehicles are in vehicles.luv correctly
-and it worked before we switched over to the newest version of qb (nothing was touched) i think some other people had this issue as well & i’m not sure what to do
So is it for all cars, or just custom cars?
Just custom. It worked fine the whole time in the old version, but we switched over to the updated one & it doesn’t work
Yeah, when i buy a custom car from pdm, it sets as owned & allows me to store it in the garage which is weird
in the vehicles.lua do a search for
['hash'] = `
and make sure it has the same number as ['name'] = '
We had this issue when one of our hashes was a ' instead of a `
Kk checking now
what do you mean by same number? i'm sorry
this is what it looks like
at the top, where you searched it will look like this
if the last number there differs you have a hash that's wrong
yes, but i just removed it and added it again from github. i'll try again
I assume the custom cars are added into the vehicles.lua also?
Could you hop into voice chat? a screenshare might make this easier to debug
one sec
does anyone know why i can’t see my character in qb-multicharacter. I see all the information when I select it, just not the character. Looks like this:
No clue about this one honestly, My guess would be some compatibility problem between newest qb-core and this version of multicharacter maybe
My first guess would be to check the vector of the character and the camera
Oh yea that would be a much more simple thing that could have gone wrong 😄
Does anyone have experience with custom cars and qb-vehicle shop? I added a Bugatti veyron in and while I've added it to share/vehicles.lua end entitylist and am able to spawn it using admin menu. But /admincar returns unable to store vehicle in garage.
whats up
have u added it to dealer ship
---imports
['bugatti'] = {
['name'] = 'Veyron',
['brand'] = 'Bugatti',
['model'] = 'BUGATTI',
['price'] = 120000,
['category'] = 'import',
['hash'] = 'veyron',
['shop'] = 'luxury',
},```
send me the file
u had VEYRON in wrong place
thats wired u getting any errors in f8
nada
[ 52078] [b2699_GTAProce] MainThrd/ Script initialization finished.
[ 52468] [b2699_GTAProce] MainThrd/ Finished connection logic
[ 52765] [b2699_GTAProce] CrBrowserMain/ Uncaught TypeError: Cannot read property 'focus' of null (@game/ui/root.html:108)
[ 71968] [b2699_GTAProce] MainThrd/
[ 75437] [b2699_GTAProce] MainThrd/
[ 77609] [b2699_GTAProce] MainThrd/ [Backitems]: Starting Loop
[ 95125] [b2699_GTAProce] MainThrd/
[ 96078] [b2699_GTAProce] MainThrd/
[ 98578] [b2699_GTAProce] MainThrd/
[ 115375] [b2699_GTAProce] MainThrd/
[ 115593] [b2699_GTAProce] MainThrd/
[ 115781] [b2699_GTAProce] MainThrd/
[ 115968] [b2699_GTAProce] MainThrd/
[ 118250] [b2699_GTAProce] MainThrd/ ```
last few lines of F8 log
wonder if its just the car being stupid then.
shows up properly under admin spawn
just wont let me garage it lol
cant do buy in menu either
Okay lemme try
isnt that what admincar does? buys the car, same for adminmenu
if u spawn it in the got to vehicle bit in admin menu and click buy
will it not let u buy
tbf im realizing im not seeing import category at dealership either now
nope wont let me buy
send me the vehicle shop file
so it wasnt that, it turns out i never had import under the actual luxury shop, i had it under PDM and that screwed it all up
still wont give me admincar through command but if i buy it at luxury it stores and works as is
The hash part needs ` not '
i had gotten it working through import purchasing, just unable to spawn it and use admincar to keep it
Yeah, having any error in the vehicle files breaks it
just swap you ticks to ` (or ´ i cant remember) and it should work
for the hash line
ahh makes sense, ill go ahead and configure it tomorrow when i get up then. definitely good to know
You can also fin WHERE it breaks cause it will break FROM the line. So if you dont have the right ticks at one car, any car above that will work
awesome info to know for sure,
secondary thing, i posted in raidjob as well but it seems none of the cases are interactable for it
i had 3 others testing earlier and even with casekey it wouldnt access it for any of the jobs
Hello, Im testing the script and have changed the coords for the boss ped
But nothing is happening
Did you restart the script?
the old boss will stick around also, if you don't restart qb-target (or restart the server) after you do restart cw-raidjob
Yes
Also, if you downloaded the script before like 10 minutes ago you should get the new version haha
Just fixed a major issue (hopefully)
So the npc is not spawning at the new location?
So when i restart qb-target the cw-boostjob turns off
Yes
yes
yeah do
restart qb-target
start cw-raidjob
Not working, No ped
try another pedmodel
prefferably one that old
and i would also reccomend TPing to the coord, so you know it's the correct one
And try to check the z axle if it's spawning them to far down/up
Yes i know all that stuff🙃 Its just super wierd couse what i do its not working
Ima try to restart sever
Try using a V4 instead of a V3
Already do
In your image it's a v3
yeah
from default its vecktor4
ohh yes but i changad it
And you're getting no errors in console or server side?
Nop
Stil now working
Working fine for me
(ignore the wrong name, on our local server the folder still has the working-name)
He is there at the normal coord
normal coord is in the water? 
do you have a swap token?
Yes
the spawn does the -1 already, so you only need to copy the exact coordinates of your character to put him where you want him
If you open f8 console and do "restart cw-boostjob"
does another dude pop up where this guy is
at the old coord?
yeah the one thats in the water for you
(and saved the changes)
Cause it seems like what you're editing is not being pushed to the server
god would know both me and coffee and forgotten to press ctrl+s more than once, I also wonder if qb-target:spawnPed takes a vector3 ? can't find it's documentation atm 😄
I think it takes both. but Vector4 gives heading
yea some are just you know.. difficult to work with and needs a heading it seems
also, this
You dont happen to have like multiple server resources or something? and just keep editing the wrong one haha?
(cause lord knows i've done that one so many times)
hahahaa
JUst remeber that i have tested this script before
yea no worries.. we have both done that too.. I have 3 resource folders..
I got 5 
lol
but hey at least it's figured out and hopefully it will work now 😄
also what map mod you using?
The one that costs money?
Yup
Is it fixed up yet? I remember back when it was free it was barely playable
like you couldnt walk up stairs
Yup. So much stuff is fixed
Stairs and everything
Interiors
mlos etc
So wee are making a swedish server with it🙃
Damn. Cool. Really wanted to try it out but now that it costs money it's just uuuugh.
I might hit you up later, gotta do some actual work rn haha
It's used if you want to randomize positions civilians are placed at
Ahh okay, but what does the Civilian do?
Just what model is used
and I think what animation they got
so for example, you can have 3 civs and 20 positions
and each time you run the job they will have a random location
same as guards
They just don't have weapons and will flee etc 🙂 so it's just if you wanna set up people that aren't guards 😄
Ohh okay
Then i dunderstand
thanks for the help!
I think it's actually depending on ped model
some civs will charge you with fists lol
so god damn violent!
What item do i need to get in to the vehicel to steal?
A lockpick
Is your qb old?
No idea then. That's deffo outside our script that it's broken haha
Yup
Do you know what script locpick stiff is in? is it qb-vehiclekeys?
Ohh. Its wierd couse it should work from the beginning
Mabey i have to change export to my lockpick minigame
If you have another lockpicking minigame that could be messign with it yeah
Like i have all the code in qb-vehiclekeys and qbcore but nothing is happening
any of the cute devs around!?
i have a QUICK question!
The shared lua from the cw-raid is.. off? i could be fucking stupid lmao. But, i am sure, that the meth_cured is cut off?
hey cutie!
Check it out 🙂
feel free to delete
after
if you're free, i came into general, don't worry, i won't talk ya ear off, i feel it's easier to debug over voice!
yas!
Good catch
im kidding, no worries, anyone could've complained, i am simply more persistent!
:p
fixed 🔧
just saw it, thanks cutie pie! keep up the great work
and if you can, pls send me a dono link!
ty in advance! !
OH!
quick query, if you don't mind?
sure
You know I'm beginning to wonder if the raidjob is not lol
People reporting it's breaking
We might need to take a day and look more into the raid job Coffee 😛
That would be mighty kind 
it's failing to target the cases... but not if you give it another prop apparently 
I pushed out a patch TODAY
but apparently it didn't work
It deffo fixed other issues tho lol
it's so god damn odd
this simply sounds like a miscommunication somewhere in the code! ** BIG BRAIN**
lmao, i'm kidding, ill find what i can! :p
yeah I mean I understand why it would break like that BEFORE todays patch
but not after

lmao your emote choices are fucking awesome hahaa
i will be in general vc, working on it
CASES meaning briefcase/prop?
Would join you but gotta get to bed in a few 😄 gotta get up early to shop for new students introduction day tomorrow - aaah actual work taking away from more fun work
yeah, so this was reported in a thread in the qb-core discord (and here). the guy in qb-core said Artjob worked, and if he changed the FetchItemProp to something else than the security case it worked 
Yeah I'm off to bed also haha.
i remember school, i fucking hated it. lmao. I start my masters degree program next week for medicine, I'm sooooooooo stoked. 🙂 especially having a 4 year old around 
But please share if you find anything!
Dude, there's W A Y too much hate in the world. Kindness is so fucking key to the future; being a dad, i can't raise a little shit, you know?
gotta pave the way!
get some rest, homie!
Nice 😄 hope it will go well! I work with new students for engineering at a university while I do my "Masters of science in engineering for game development and learning technologies"
thats a mouthful... 
@young pelican is right, you both are amazing, @thorn spoke sorry i didnt get back to you yesterday my buddy went ahead and put in ps-mdt and ps-dispatch so i was forced to debug and change all that over. ill test today
thats another thing i was going to ask but, felt like i was coming in to eat all the food all rude & shit. But, are there snippets for these yet
dont hit me
MDT - dispatch
I believe there's a tracker that will go off for police with the case, there's a timer in each job that lets you decide how long it goes on for, other than ofc gun shots being fired 😄
Hey, we could set up like a Ko-Fi or something ☕

you should, im short on funds myself but when i get some in ill be donating for sure
you guys are awesome and have better support than some paid scripts
^^^^
Just never give away money to someone online before you're settled in yourself 😄
i bet you guys give hella smooches too, i like it.
whats that saying? it's my money and i give it away now?
I don't know about that one, with the beard and all it might be itchy
xD
Thank you guys 
well deserved praise
listen, if someone is kind to me, ill pay them, not like hundreds. but, if a fucking coffee for you boys gets you through the day, i got it, you feel?
i personally dont drink much coffee, but, hey
let me know when it's up!
I feel like "learn how to drink coffee" is the first lecture you get in any engineering degree at our school
duuude, i really should switch to coffee. I did a redbull tour like eh.. 9 months ago? got this card, right?
free redbull for life.
so.
prior to doing my own server stuff i was paying a 45$ a month for a server i just spent time on (Sub based) . Money is meant to be spent ill throw it where i please!
there's that
gentlemen's voice "I shall throw my bands wherever i please, even if this is @ the VU"
i worked at VU on said server. just saying the irony
lmao
do some /e lapdance4 all day xD male stripper in city
this... sounds like a really shitty vice episode. THE INNERWORKINGS OF GTA RP: LIFE OF A FIVEM STRIPPER
this was a bad joke. im sorry lmao
As you probably guessed Coffeelot is also quite the coffee drinker... anytime we gotta do anything "just gonna grab a coffee!"
lmao your good, it was very bad normally, we called new players Gokus and chances are any shift id end up dead like 3 times
over 2 hours
if im outta coffee its a bad bad bad day xD
So answer.
found it!
xD
sorry haha
your good lmao, also consdering this is general i dont see why a video would be bad, This would make great vice content
https://youtu.be/15wNBQ1uU3k
prior city before i made my own.xD
first thing i see
"no masks
No violence
No illegal sales"
second thing i see... masks, violence, illegal sales
lmao welcome to VU
WHY IS THERE DEER?!
i asked for free passage whats this "turn the fuck around" lmfaoooooooooooooooooooooooooooooooooooooooooo
hahahahahaa
lmaoooooo Yeahhhh that cop was a dick, just wait. he made up for it partially
quick tip, use nvidia broadcast
get's rid of your background noise/air
it's free and works wonders
That one dude wearing purple and a green flag lol. Weird flex if it's a lore gang
xD that was actually my family, our primary colors were blackand purple with a weed flag. we were called the belladonnas based after the deadly nightshade plant.
unfortunately the city itself is more of a shooter server than a proper RP one as it advertises so althought we had good stuff it was far and few between
Lucid, yeah, it used to be fun
bahaha you know
Yep.. only true RPers now are Benny and the berndinos
Cosm0 banned me from lucid for using a clown react
which inspired me to do this and get into my own development. ive ran WoW servers and such 10 years ago so its mostly a refresher
@young pelican Grammy nominated producer? wait what?
yahhhh haha
Hi!
At the playerjob check i want to add so it checks more then just one job
somone know how?
Example
Meby like this😬
Anybody know this prop name?
if your using QBcore type /admin and go into dev mode you can view prop and objectID's easily
this is gonna sound silly but how do i remove these black and white blips lmao
We actually did this for a mechanic job. Just copied the qb-mechanicjob and made a new one, changed the names and Events etc.
Arent those from a map mod? I think it's zones or something?
yeah i figured it out, some were from QB-garages, some were from qb-customs
i was too excited when i asked it seemed lmao only took like 2 min more
@thorn spoke lets switch to general as to not fill the support channel xD any suggestions on a phone alternative? free is preferred as im broke atm but paid can come in time
The only ones apart from the qb one are even worse
Maybe we should just rebuild the qb phone 
You really should. Make it your first paid asset release, I'll beta test. Lol
I could believe that's a whole framework rework though
We would never charge for a remake that uses other peoples code honestly
I'd certainly hope so cause what they are doing with their CSS is a FUCKING SIN

That's fair lmao I'm not familiar with it enough myself to say I could do it. They definitely need a rework at least for the UI.
It's so..... ugly by default.
Oh another side idea using your print script. Polaroid camera maybe using the script from the phone camera and assigning it to an item for use. Can print out momentos
Not as simple as the other ones sadly. But for sure doable. I think we'd have to do some image cropping and shit tho and I dunno how well Lua does that
Ah that's fair. I wasn't sure consider you can view in gallery and such. Just a thought is all. I love brainstorming lol
Yeah, like it MIGHT work
I think it'd have to be a separate script based of prints tho
cw-polaroids 📸
Yeah that was what I meant haha not something integrated into prints itself
Had to swap from Ko-Fi cause they had some bad stuff going lol. Buy Me A Coffee also allows payment through Google and Apple Pay ✌️
The image on the tablet shows the No Pixel showroom no?
So even if it's a prop it's gonna be a custom one
I have np showroom and it needs this prop
Because i cant open the shop without this prop
Did it not come with the prop?
I dont think so
In client right?
Yeah. I would assume so yes
Somewhere in the NP Showroom client theyre should be one named like "OpenShop" or something
So, on an old server me and Wuggie worked on, the twat that was running it had NP Showroom. Not sure if it's the same version
But on line 195 in client/cl_experience.lua there's this
exports['qb-target']:AddCircleZone("showroom", vector3(-33.5, -1103.71, 26.42), 0.3, {
name = "hospitalstash",
--radius = 0.3
debugPoly = false,
--heading=250,
}, {
options = {
{
event = "showrooms:enterExperience",
icon = "fas fa-car",
label = "View Catalog"
},
},
job = {"all"},
distance = 1.5
})
end)```
Change that vector to wherever and I i THINK you can access it from wherever you put it
no need for an object
The one we had didnt have it either
It's a hot fucking mess tho
if it's the same version we had
Like it's so broken it's hard to use 
Might have been the idiot of our previous server that broke it tho tbf haha
So it comes without 🤣
yeah
From where i can add custom cars to the shop from qb-core/shared/vehicle.lua rught?
Just to be sure
Yeah i think it pulls from there
Thanks
Anyone familiar with MLO work? got a luxury car shop i wanna use but its like its not removing the collision from the previous building
Did you restart the server after placing the mlo in server file
i got it, i was on a newer game version and it had a place there that was trying to go in the same spot
i do
A lil sneak peak of something that's in the works 👀
Hey Wuggie, any chance you can help me with something i hope is nice and basic? trying to unlock a door from a thermite mini game, but the command keeps making it so my character itself unlocks the door (who doesnt have permissions)
if QBCore ~= nil and isLoggedIn then
local pos = GetEntityCoords(PlayerPedId())
if #(pos - vector3(Config.JewelLocation["ThermiteSecurity"].x, Config.JewelLocation["ThermiteSecurity"].y,Config.JewelLocation["ThermiteSecurity"].z)) < 5.0 then
if CurrentCops >= Config.RequiredCops then
QBCore.Functions.TriggerCallback("qb-jewellery:Callback:Cooldown",function(isCooldown)
if not isCooldown then
QBCore.Functions.TriggerCallback('QBCore:HasItem', function(hasItem)
if hasItem then
TriggerEvent('inventory:client:requiredItems', requiredItems, false)
TriggerServerEvent("qb-jewellery:server:SetHackSecurityStatus", "isBusy", true)
exports["memorygame"]:thermiteminigame(Config.CorrectBlocks, Config.IncorrectBlocks, Config.TimeToShow, Config.TimeToLose,
function() -- Successfully Disable Cameras
ThermiteAnimation()
ThermiteSuccess()
TriggerServerEvent('qb-jewellery:BeginCooldown')
-- Door Dependency (NUI or QB)
if Config.DoorLock == "nui" then
-- Successfully Complete Thermite Game (Open Door)
TriggerServerEvent('ox_doorlock:setState', jewelry, 0)```
I'll give it a quick look yea 😄 leaving for work in not too long so not sure if I can spot it before I have to leave 😄
(if you're admin enabled on the server, I think some servers let you unlock everything btw, not sure if that's the case for you)
Yeah im admin based but i dont have it set to allow myself
it works if im set to cop but not to freelancer
so im thinking its reading the job permissions of the character, but its meant to be thermite to cut power to vangelico so counter productive for a crim to have door powers for
It only lets you thermite if you're a cop?
right
ofc 😄 I never got too far into the whole bank robbery scripts before we just started making our own, but I remember there being something like that
What is Config.DoorLock ?
bahahaha yeah im still skidding my way through and its mostly my friends and me. so im attempting to learn my own but cant really get there yet
jewelry
Ohh
its nUi
okay, I'm just looking and its only if that's "nui" that it unlocks the door?
nui**
but that shouldn't change on your job
its nui because the script was based for either nui_locks or qb-doorlocks
right okay
but nui upgraded to ox_doorlock so i changed the variables accordingly
who knew unlocking a door after an action would be such a pain xD i just want it to server side register boom unlocked
yea not sure then, and leaving in a few 😄 but I can try look into it later or maybe tomorrow, Don't know if I will have any off time today 🤣
haha your good, i figured i saw you on and it was worth a shot. i appreciate even taking the time you have
It's always something, after I started doing any kind of programming I've just become a sceptic of the time anything takes
"oh this will be an easy fix" - 7 years later you still try figure that easy fix out!
or a ´ that should have been a `
Lemme delete this chunk right here. WHY WONT THIS WORK.... oh, left that
i feel that lmao and im only in the starting phases of attempting to re-learn this. last time i touched server stuff was when WoW burning crusade came out. im an old fart
but! hey I gotta be high energy and only talk UP programming for 2 whole days! to get the new students hooked
i mean tell them the satisfaction when you finally get it working. and wanna do more xD
oh for sure! and we always tell them, that they WILL feel like an imposter at some point, because we all have felt that
our C# tutor always has a slide in his powerpoint named "Will coding kick my ass" and he goes "well, maybe, if you give up.. but if you keep at it, no, it won't"
Any suggestions on free Lua scripting courses or resources? Or a paid one if it's actually worth?
try making a script from 0
From 0?
yea just use fivem native stuff and try to make something basic first
then add some new features
turns out i had to setup a new netevent server side that did the call instead of client side, then change the doorlock call to just call the server event. the dumbest thing ever but it works without a hitch
i found somebody else who had the script and did the same that i was looking to do ironically.
The server/client stuff can be a real ballache haha
yeaaa we have had that a couple of times
tbf im sure with more knowledge id of gotten it over time, i definitely questioned why it was a client call vs a server unlock myself but didnt think to transfer it over lmao
ima try and do a few lua classes to maybe understand it a bit more xD just need recommendations to not waste my time
I just setup the qb-racing edit, love it but was wondering if it can display the position you are in the race?
It can't. We were looking at adding that somewhere but it kinda just didn't get anywhere. We do have more changes we want to add to QB-Racing, like top 3 lap times and class based lap time scores also
But we kinda got occupied with the server we worked on before and then our on stuff haha
TaskPlayAnim(ped, animDict, "exit", 3.0, 3.0, -1, 2, 0, 0, 0, 0) currently this just loops an animation for a good while, is there any way to slow it down a bit?
damn, its from the base qb-jewelry and it smashes the case like 3 times before the progress bar ends lmao
Maybe lower the length of it so it's only once? And trigger it at the end of the progress bar
love the scripts youve been putting out, currently i keep getting this error when trying to start races, i have latest performance and the racing script from in here, if i could get any assistance or a point in the right direction to fix this id really appreciate it
Are you getting it when using a modded vehicle?
no just regular base gta cars, no upgrades
ah yeah I see why
I think i fucked up a lil change
will drop new qb-racing soon
a quick fix is to just go to the line and change it to
local info, class, perfRating = exports['cw-performance']:getVehicleInfo(GetPlayersLastVehicle())
i forgot the exports part
okay, thank you again! i really appreciate the quick response and support!
Np, had a hunch of what it could be 
Hey @thorn spoke I made a script on my own finally xD i know this is probably not a common thing but is there any chance if i send it in DM youd look it over during your free time and tell me where to improve? everything is client side atm and im sure it can be better.
You got a github for it?
im tossing it up there now
right now with the current timeout if one person searches the dumpster its locked out entirely. would rather it was client side
So you want it to have a timeout of 5-10 minutes but only for the person who did it?
Maybe move the setTrashState to only clientside
ive tried as it has client and server side functions, im prob doing it wrong myself xD
Also, is the idea to have a script where you loot trashcans?
Nah I want this one to be specific zones placed down with a kneel3 emote for digging through bigger bin (area below garbage for stock qb) a junkyard search type thing
I got dumpsters and trashcans in place for 3rd eye already this is separate
aah
Yeah add in some harder to get items for crafting that you wouldn't get from a basic dumpster and such. Got some spots near broken down cars and such as well. Basic things like that.
as soon as i stopped being a smoothbrain i got it, exactly what you said
Github is updated if you want to take a look or use it yourself, will probably private it in a bit unless others have interest. considering its mainly ripped code from QB-jewellery
While searching for a method for the purchased vehicle to spawn outside the shop , i actually found the best script for it xD
yo anyone else having this issue since the new update for qbcore ```
[ script:qb-core] nil triggered QBCore:Server:AddItem by ID 7 for 1 pbeermugfull. This event is deprecated due to exploitation, and will be removed soon. Adjust your events accordingly to do this server side with player functions.
[ script:qb-core] nil triggered QBCore:Server:RemoveItem by ID 7 for 1 pmacncheese. This event is deprecated due to exploitation, and will be removed soon. Adjust your events accordingly to do this server side with player functions.
If It was a script from here I believe coffee updated all scripts. If not then you'll have to update the calls or ask the script maker to do so
yeah i think coffee has but just curious if anyone knows how i might do it my self cuz ive had no luck with it
I also have the same above error for different mechanic script, any solution you found?
Downgrading qb-core
True
I think we'll have this issue with cw-tokens at least
Otherwise this might be the fix
Like... we're either doing it wrong ... or we managed to circumvent the issue before it existed 
I'm wondering if they removed the ability to remove/add by slots?
One solution is to find the old QB-core version for the AddItem and RemoveItem and just replace the new ones. Should fix the issue
Yeah rework the scripts so items given are server side
Oh so it's only for items given client side?
Honestly I didn't even know that was possible 😂
I feel like everyone is missing out on this idea
PDM heist with the possibility to get a Vin scratch car as a reward
You could make the boostjob work like that somewhat, it's just about writing the story right -
You pick up the job somewhere ->
do the whole escape thing, input cool action scene here! ->
deliver it and get told to come back for it later (or something, you kind of decide, you can decide if it adds the car here, you'd need to write some code, but I think you could find it in our vehiclesswap code how to add a car to people directly here, or if you wanna give them a token and use the vehiclesswap script that could also be an option)
(This was my initial idea for why the Vehiclesswap script got made, to make it possible to have cool vehicle heists that could be used for gaining cars, legal or illegal depending on what you did with them)
Honestly, we could easily do that by changing the swap slips to tokens (probably should do that anyway) and having a dude who takes tokens and gives out illegal cars as a trade
yea or add a 3rd option right 😄
Third?
We only have option for entry now (money or tokens). My idea was to change the swap slip you get from finishing to a cw token instead 🧠
Ah right 😛 I thought we actually had money + car, or a Slip 😄 my brain is a little scattered, I can't remember what I thought about vs what is implemented
Nah you only get slips. Would be nice to swap to tokens just to make more use of cw-tokens
mh fair 😄
Yeah they made it server side do it now super odd but makes sence
I put cars that are imports into pdm on the display and this pops up. I had them in pdm before in their own category and it all worked fine. Now I am getting this. All of them are in shared vehicles.lua also. is there something i am missing?
All those from multiple tries or opening it once?
multiple tries. i walk up to a car, get the "vehicle options" menu, but cannot click on it and the error pops up
Is it like that for all cars?
yes the ones that are add ons in pdm on display
So ONLY modded cars?
yes
Hmm, you sure your vehicle.lua isn't botched again? 
LOL. i didn't touch anything from the last time we talked and fixed it i believe.
does it have something to do with the vehicle brand ?
Certainly seems like it yeah. might just be that it's fetching vehiclebrand first and that is failing
unless you have some nil values as brands
Are you on the latest qb-vehicleshop?
i was missing a brand in my vehicles.lua, just fixed it and restarted. checking now
also i am not
i haven't updated my core
That's probably it then. It seems like if one thing is bad in that file everything after that one thing will be rotten
yeah hopefully. that was the case last time LOL.
it lets me open the menu now and buy a car. but when i buy this 1 car, it puts me in a different vehicle that's on display and gives me the same error
maybe more cars with bad values?
Might be double hashes that's causing the replacement
like one hash being used for 2 cars
either the hash or the list name [hash] = { bla bla bla }
i'll check again. when i go to buy the first car, it's okay and i get that car. when i buy all other cars it gives me the first car
ok seemed like there was 1 hash that was a duplicate. fixed and restarting. hopefully that was the issue

it's doing the same thing:/
You sure there aren't more douplicated values in the file?
Note sure how qb-vehicleshop picks it, but I assume it's the listname, or maybe the model name?
could it be the brand name? because i think i have a few ford in here
Nah there can be more brand names
The ones that I think need to be unique are the list name, model name and hash
just checked and they are all okay. the list name, model name, and hash are the same for each car
Can you send the file? And what car is it that all of them end up as?
it seems like whichever car i first buy. so i buy a certain car, then go back to buy a different one on display and it gives me the first car i bought
my vehicles.lua?
Yeah
Even if you go with different first cars?
Does it do this if you have a non modded car as the first car also?
not sure since i added all the modded cars at once. i'm going to try that now.
it's doing the same thing where I cannot open the menu. the menu pops up, but when i click on it, nothing shows
I'd try printing the stuff in the getVehbrand function to see if it's actually getting the variables it needs in there
here? i put print ?
Yeah before the return, print insideShop and ClosestVehicle
Doing support from my phone on the balcony btw
playing stardew listning to the rain hit the tin roof 😌
ooo that's so pretty LOL. what a vibe
Is the number of the closest vehicle different in the first and last?
yes in the first one, it's 4. last one is 3
now i bought the same vehicle twice. first time: lets me buy it and nothing in f8. second time: picture^ and giving me the second vehicle on config not the first one
i don't think i did it right bc it just says nil in f8. but could it possibly be because i moved the zone to the shape of gabz pdm instead of the regular one?
Yeah that zoneing thing could be the reason
okay so should i just put in the version before i edited stuff? then try putting modded cars in pdm?
yeah try that
kk
if that works then it's probably the zoneing
kk i'll lyk
i reverted it as well as models and this happens:/
it let me buy the first car, but when i buy another this error pops up
And you didnt have this error before?
is the job field defined in the config?
Only thing I can see there that could be nil
or if the "insideShop" leads to a shop that doesnt exist?
kk
it let me buy 2 cars, then when i got to the third it prints this
so it's the shop then?
Is the shop name vanilla?
shop name is pdm
😂
LOL
is it because i have job=none ? because there isn't a job named none?
Oh shit no
Wait
On the ones that error it doesn't have an insideshop
Imma sleep now tho. Good luck! If I think of anything I'll let you know
okay thank you! have a good night. appreciate the help!
Gonna sound silly but anybody got a snippet to spawn a ped inside qb-houserobbery for when people rob houses
I do not, and I haven't really checked Houserobbery script a lot, but could you maybe use something from the spawnguards function in Raidjob? 🙂 Not the whole thing ofc, but that's my guess that it could be done, I haven't checked into it and I'm making dinner atm and reading the code on my phone is a pain 😄
lmao thats fair enough, its possible but the way houserobberys creates itself is by spawning an interior under the map at a -40 Z offset by default, and everything in the script uses those offsets for Location placement. its probably easier than it seems but it just adds to complexity
Copy the way raidjob spawns the guards then copy how houserobbery places the rob locations.
Most likely you'll have to place the code back into every house because that is how the code was written.
Hey @thorn spoke which target eye are you using in this image?
@torpid pecan
It's our own skin. Download here
#raidjob-🔫 message
thanks bro
But it's a bit old version of qb target
for the love of god decrease the size of your eye, and change the wrapper to 48.9% xDD it lines up properly to the center of the eye then
lol we don't really do any of that stuff anymore since we don't work on any server haha
xD i loved the theme but forgot how big it all was
so much cleaner lol
that was one of the first edits i did xD
It was mostly me doing UI stuff and I work on an 3440×1440 UW
so im always scared of messing up sizes for people
Also, as someone who works with the stuff professionally: I'd NEVER use something like "48.9%" in code 
Probably better to give margins or padding
but QB is so fucking bad with pixelpushing and absolute positioning already 🤮
I'm probably gonna just do a quick do-up on some UI stuff cause I've noticed the contrast aint the best with the light blue and white (the color wasn't our choice)
xDD Hey dont blame me that it lines the wrapper up better with the eye overall it was at 49.25 originally sooo its not that far off lmao. but yeah you already know im novice as can be haha.
I like making UI stuff, so maybe I'll do a full qb-target skin someday
id definitely download it xD
Our qb-inventory had a HELL of a redo on layout
i dont mind qb-inventory but i really just want cash on the hud screen >.<
and decay
i tried the alternatives like Ljinventory with decay but it just had a lag when opening
thats gorgeous lol
qb inventory shows decay tho no?
huh
yeah i mean there are probably snippets out there and integrations possible but by default it doesnt have it.
Can anyone help me out with this error?
none of the weapons are reloading for some reason?
Seems like your weapons file is broken
Did you change it? Or maybe update qb-core but not qb-weapons? (no idea if they got patches)
math.random needs two inputs
so you probably want it to be math.random(0, #data-#daily)
or something
math.random will give you a random number in the interval between input one and two
so if you input 0, 2 it will be 0, 1 or 2 (iirc)
If #data-#daily can be lower than 0 you need to take that into account however
i fixed it by just readding qb-weapons lmao
whats a good way to make a screen fadeout for like a knockout state?
oh okay, word. i added a knockout state and want it to fade the screen out and come back like your dizzy or knocked out
var str = "Vector3(" + x + ", " + y + ", " + z + ")" + "[h] =" h ;
How can i take this, and put quotes around the H like this without breaking the entire thing. i know in lua its using / before the symbol but i dont know shit in java xD
var str = "Vector3(" + x + ", " + y + ", " + z + ")" + "["h"] =" h ;```
I believe it's "[\"h\"] = " h
the full thing, hopefully it works
var str = "Vector3(" + x + ", " + y + ", " + z + ")" + "[\"h\"] = " h ;
Another random question, anybody have a snippet where if somebody starts a job nobody else on the server can do so? i figure its probably a few calls back and forth but cant figure it out
-- edit scratch that, went to the ol faithful QB-jewellery and figured it out from the cooldown code
Sooo, Lua is really bad with negative numbers huh?
or im stupid lol. -- this was it lmao i forgot to call a source on a server sided call and it responded with native errors, i thought it was due to a cooldown going negative
aaah 🙂 was just to say, i know it has some weird shit but negative numbers shouldnt be one
Yeahhh xD its always one bugfix to another, i got the cooldown working but for some odd reason now the searching is broken xD
which was flawless prior to xD prob due to me switching to combozones
What should i do so that i can also see the resources as shown in this picture at the left side?
make sure your on canary and do con_miniconChannels "script:*" -- Edit, forgot the s in channels
con_miniconChannel "script:*"
Do i have to add this line
in the F8 window
my bad
when you wanna turn it off you can do con_miniconChannels "asd"
also i forgot the S in the original message, edited to correct
Okay thanks 😘
No prob! Its definitely something that makes development 100x easier
Yup
Whats an average time% for Qb-Target >.> asking for a friend lmao
Average time?
okay, i wasnt sure if it was just something i screwed up on or not
next highest is boii hunting at .18ms so Target being higher seemed odd. but since it is tied with most things i guess it makes sense
on a side note, that shitty mime script was a good stepping stone but i finally have scripts with server and client side calls lmaoo >.> progress
How can i make it so that the Parking SIGN appears on every spot
if you get what i mean
You'd have to get a coordinate for all parking spots, put them in a list. Then where it creates the interaction you need to make a loop that goes over all of them.
I got the coords but i don't know about the loops on how to set it up?
https://github.com/JonasDev99/qb-garages
this one uses radial menu vs the markers
also has either polyzone 2 setup lots, or individual spaces marked with vector 4's including impound and depot lol
The developer of this script is on holiday and has error that he will fix whe he will be back
ah im using a version from prob 30 days ago and havent had a single issue with it
I want to use default qb garage with multiple arrows to show in parking spot
ah well then yeah what Coffee suggested would be best overall
Yeah
prob setting up a table and using a for k, v in pairs(blah blah)
Hmm
I think if you look at for example qb-bennys or whatever it's called. The mechanic job scripts
They have multiple interaction points
that could help you out 👍
How do i change the Default Lock pick that has shit animation of Qbcore to this one?
You can find that one in PS-UI
so just find where it calls the lockpicking minigame and chane ti to the PS-UI one
(example would be in cw-raidjob where we do the minigames - just search ps-ui in the client file)
Thanks
Anybody know a good way to test out or see the particle effects?
Sooooo, lets say i stole your spawning code from Raidjob, what would be the best way to Unactivate the NPC's and set them as un-needed anymore. @thorn spoke 😛 or even delete them
We do exactly that in cleanup() in boostjob!
its a bit more advanced than raidjob i think
with enemy spawns
appreciate you, ill take a look!
The way the npcs are spawned in raidjob (and boostjob) will clean them up after they are "activated" and their world cell is left tho iirc
fair enough, yeah im using it for a thing on Cayo atm, so even half way across the island when i come back to the air strip they are still active lmao.
tbf for one of the steps i currently have it spawning 27 guards lmao its really optimized so props on that
lowered the spawn wait to 200 and still works flawlessly
Flawlessly syncing the npcs?
from what ive seen with me and 2 others yeah
nice
still on a closed dev server atm
Yeah the one we set was more like a worst case thing
makes sense, Yeah im messing around with QB-target and diff steps and such, prob still a bad way to do this overall but its a fun learning experience overall.
anything is better than the mime/oxy script i started doing all this with >.> lmao
Also you changed your PFP and its throwing me off >.> xD
Never seen the code for np-pdm
But I assume some models you're trying to load aren't defined or aren't defined correctly
i mean its nopixel vehicleshop for qbcore
how can i fix that this is the Line Error
sounds like the car with the ID you select don't exist then
hmm
then why is the map not loading
when i select a car that exist in my server it appears but falls down
that seems like a different issue
why not ask the support that you paid for? haha
cause thats a paid script no?
So it's leaked code?
yup
In that case that's your issue. I remember using that horrendous vehicle shop back on a server I deved for and it was so bad hahahaha
it was esx
okay
hmm
the primary issue is it being a leaked script, you'll be lucky to end up getting support for it most places and will actually get a lot of backlash for it. probably best to just use a public one or find a good one and support the devs' for it.
so I'm not to this point in the script yet, (its coming soon) but I could use some assistance on this one, Im working on a Vineyard/Wine Delivery job. They pick grapes at the vineyard and smash them, Ez, after that they get packages to put into a van and do deliveries based on the amount of packages they made up. They then have to deliver the packages to the various liquor stores around the city, Here's where my issue comes in.
I want Businesses to hire these people so I need the script to keep track of the business that's hiring (as it'll be a common job for Clubs[VU, Bahama Mama's. Tequi-la-la]), Then for each delivery I want the business to get paid, (can do that using renewed banking) but I want the business to be able to check the status of the drivers. IE If they have packages in the van yet and if they are delivering and how many they have delivered already. Then upon completion they have to return the vehicle and get paid by the business that hired them. I've never worked with QB-menu yet, or tables in this kinda depth where its stored per person variables. Should it go to SQL instead, I'm assuming all data would be kept server side regardless. Maybe a temp metadata tag? ugh lol so confused. Any points in the right direction would help lmao >.<
I think you'll want to use SQL for that. You need to make sure the data syncs over clients. I thiiink you CAN do that by just using the serverside scripts, but with SQL you also get rention over connects etc
So what you want to make is an event that triggers for all these actions that updates some object in the database
One thing you can look at is maybe how QB modifies either the "mods" column for vehicles, or the player object that is held in the database (example would be in any jobs script I think)
Honestly, if you nail that you got grounds to make an UberEats map with tracking in it! haha
{
"workers": [
{
"name": "Khatrie",
"packages": 5,
"outForDelivery": true,
"destinations": {
"teqilala": { "done": true, "order": 4 },
"bahamaMamas": { "done": false, "order": 1 },
"vu": { "done": false, "order": 4 }
}
},
{
"name": "Qasim",
"packages": 0,
"outForDelivery": false
}
]
}
Here's an example of json data structure for that
Huh why is my Name Here
🧐
Yo Coffeelot is there a way to decrypt FXAP Escrowed file !
Jussssst Askiiiiing ||Before i get Banned xD||
||😮 || ||No Stealing|| ||👌||
Not only that @pearl sky , but leaked code is commonly used to spread malware, fyi haha
might wanna make sure you don't have shit on your computer
yeah that screenshot deffo proves you don't have a keylogger on there 
Appreciate you, yeah it's a bigger idea overall but I think it'll end up good. And it's a solid foundation to learn and expand on
is anyone free to talk about something to do with traders and tokens?
Yeah what's up
Can you do a voice chat rn?
Gimme 5 min
ok np
When will the vehicle plate changer script be coming 👀
Who knows 
I was working on a tuning script using parts instead of upgrades the other weekend. Like different turbos etc
Hmm seems interesting 👀
function getQBPermId(permid)
local id = table.unpack(permid)
MySQL.Async.fetchAll("SELECT * FROM players WHERE `permid` = '"..id.." ' ", function(result)
local target = 'none'
if not result then return end
for i = 1, #result do
local row = result[i]
print(row.discord)
target = row.discord
end
if target == nil then
QBCore.Functions.Notify(src, "failed", "primary", 2500)
else
return target
end
end)
end
QBCore.Commands.Add('testid', "Test a Players PermID", {name='id', help='Player'}, false, function(source, args)
local src = source
local test = getQBPermId(args)
print("source: "..src)
QBCore.Functions.Notify(src, test, "primary", 2500)
print(test)
end, 'god')
Server Side
[ script:grapes] source: 1
[ script:grapes] nil
[ script:grapes] 98615648103460864
[ script:grapes] 98615648103460864
Client F8 Error
[ 96234] [b2699_GTAProce] CrBrowserMain/ Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') (@qb-core/html/js/app.js:38)
What would I have to put so it will return the target back to the source command with the information pulled (Both server side), Currently being used to pull the discord column itself but i plan on using it as an "active" tag later to identify the currently active character somebody is on and return said state ID/Connection ID making PermID's the main identifier.
im sure im doing something wrong further than what i think but i just cant figure out what lol
yeah its pulling back the discordID from the table
thats the 2 lines on the server side
just when it goes to return it to the user it gives me the length error
When it goes to print test though it remains as Nil even though its defined in the function
Is target defined in the function?
Cause according to the code, if it's not, then it won't return anything (nil)
it is, afaik at least. under print(row.discord) it has target = row.discord
unless its because im defining it in the MYSQL call itself it isnt going further
its specifying it fine server side, its just not returning back the value to the command even with return target which is what i thought would work, but stays nil lol
What are the logs before the ones you posted?
You call the function before printing source
And in the function you call before you're trying to print also no?
[ 3608859] [b2699_GTAProce] MainThrd/ Creating script environments for grapes
[ 3608859] [b2699_GTAProce] MainThrd/ Started resource grapes
[ 3608859] [b2699_GTAProce] MainThrd/
[ 3608859] [b2699_GTAProce] MainThrd/ OnConnectionProgress: Downloading content manifest...
[ 3608859] [b2699_GTAProce] UV loop: httpClient/ Required resources: grapes
[ 3608890] [b2699_GTAProce] MainThrd/ Creating script environments for grapes
[ 3608906] [b2699_GTAProce] MainThrd/ OnConnectionProgress: Mounted grapes (1 of 1)
[ 3613375] [b2699_GTAProce] UV loop: httpClient/ Required resources: chat
[ 3613390] [b2699_GTAProce] MainThrd/ Creating script environments for chat
[ 3613406] [b2699_GTAProce] MainThrd/ OnConnectionProgress: Mounted chat (1 of 1)
[ 3615359] [b2699_GTAProce] RageNetTcpWorker/ EndpointMapper::HandleRequest: POST /gta5/11/gameservices/socialclub.asmx/GetPasswordRequirements
[ 3617703] [b2699_GTAProce] MainThrd/ source: 1
[ 3617703] [b2699_GTAProce] MainThrd/ nil
[ 3617703] [b2699_GTAProce] MainThrd/
[ 3617703] [b2699_GTAProce] CrBrowserMain/ Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') (@wh-core/html/js/app.js:38)
``` Client
server
[ citizen-server-impl] Stopping resource grapes
[ c-scripting-core] Creating script environments for grapes
[ citizen-server-impl] Started resource grapes
[ citizen-server-impl] Stopping resource chat
[ c-scripting-core] Creating script environments for chat
[ citizen-server-impl] Started resource chat
[ script:grapes] source: 1
[ script:grapes] nil
[ script:grapes] 98615648103460864
[ script:grapes] 98615648103460864
[ script:wh-core] [wh-core:LOG] Khatrie PLAYER SAVED!
nothing related to it i dont think
function getQBPermId(source, permid)
local id = table.unpack(permid)
local src = source
MySQL.Async.fetchAll("SELECT discord FROM players WHERE `permid` = '"..id.." ' ", function(result)
local target = 'none'
if not result then return end
if result[1].discord == nil then
print(failure)
else
permanentId = result[1].discord
print(permanentId)
local test = table.unpack(permanentId)
TriggerClientEvent('chat:addMessage', src, {
color = {255, 0, 0},
multiline = true,
args = {'Player Discord is ('..permanentId..')'}
})
return test end
end)
end
QBCore.Commands.Add('testid', "Test a Players PermID", {name='id', help='Player'}, false, function(source, args)
local src = source
local test = getQBPermId(src, args)
end, 'god')
WOOOO!
one step down, 100 more to go xD i feel like im re-writing the entire core at this point. itll be worth though
Haha
Yeah it seemed like it printed the function prints after the other print? So it did something in the wrong order
ooooh wait i think I know
setting test = function might not mean "test is what the result of function is"
in lua
in some dumb way
if that makes sense
so when you reference test the SECOND time it runs the function
it makes sense that it might not work, but im not sure what ya mean by this. example by chance?
or at least an idea of it lol
ahh, hmm, Yeah while i fixed it outputting into chat i had my buddy connect last night and realized its only showing the PlayerID of the single person on Everyone Vs their own numbers. so it needs more of a re-write as is and ima have to figure out how to call back the PermID one way or another at least for that lmao
so since my iD was 1, it showed 1 for both of us vs pulling his ID itself, His showed 2 on both of us
trying to think of the best approach for that so its integrated into character data vs having to be pulled from SQL on ever query. debating on a metadata tag where it just keeps the account ID for quick reference. SQL can still be used to search with the node bot though
i like to take on projects well outta my league if you can tell lmaooo 🤣
I'm overworked like crazy right now 😄 but hopefully I'll be able to give this script a look again soon(TM)
within CW-Trades, is it possible to have the NPC swap two items for one, rather than a 1 for 1 swap?
Yes, first example included in the code does just that 👌
You can make your own in the config.lua for trade
Apologies I mean two separate items. So let’s say I want to do Iron and Steel for 1 lockpick
So fromItem would need to be two separate items
But I can’t seem to get the code to accept 2 items
Essentially that could turn this into a full on "crafting" platform even. Add another has item check for specific item without removal and you got blueprints.
Yeah i dont think the implementation would be that hard
just make fromItem and toItem lists instead
No worries thanks for coming back!

I just pushed an update. Could you try it out to see if it works?
Warning: Will break your old trade configs! the need to be updated to follow the new format
I'll make a release soonish. Just wanna make sure nothing bad shows up when others try it out
This is the change in the cw-trade config file objects. from and totitems are now lists.
Money is handled the same (but I also added crypto) and tokens work like they used to, but the fromitem needs to be remade to the new model as described in the image.
Will let you know asap
The example multi-item trader is a golfer at the golfing society
Tried doing 4 items traded for 1 and it doesnt like it
No errors, just doesn't make the trade
That comes up in the F8 menu
Does the trade "go through"?
like does the progress bar start?
How does the config object look?
What does it say in game then? There should be an like "in character" error also
No emotes at all?
And you have all those items on you?
false
Nothing no
Nothing popping up in the console either
Tried reducing to 2 items and I'm getting the same issue
@cinder lance I pushed an update with tons of logging
Have you had time to test it with the logging version yet @cinder lance ? 
Any idea's on how to make a ped face an object spawned in the world? made some beach balls (pretending they are lettuce atm) i want the player to turn towards them and interact vs just randomly crouching xD
Watch Khatrie's clip Lettuce have some fun. and discover the newest trending GTA V clips on Medal.tv -- your place for gaming moments.
nvm got that, used TaskTurnPedToFaceEntity now i just gotta figure out how to make them wait to carry out the next action, my next animation cancels out the movement lmao
🎨
I JUST LOST ALL THE PROGRESS FOR CW-PAINTJOBS RIP MY FUCKING LIFE
And updates to cw-racingapp
🙀
I honestly have no fucking idea
I made an edit to qb-customs and pushed to a fork
and after that everything was gone
no stashes
no fucking idea how shit could just... disssapear
Try running a file recovery software where the files were saved
no restore points for the folder
I mean use a Software like wondershare file recovery
It retrieves/recover deleted files
Maybe it helps
xDD That timeline feature has saved me from so many edit wormholes xD. start editing one thing break it 20 times over and just go back
Fuck I just realized some code needs to be added in qb-garages for cw-rgbpainter 
To lazy to find it now huehue
Hello does anyone know how to remove the 2 images? i use ps-hud
ill switch to here for general support/dev talk
Basic Renewed phone app layout as
Config.PhoneApplications = {
["details"] = {
app = "details",
color = "#5db9fc",
color2 = "#008eff",
icon = "fas fa-info-circle",
tooltipText = "Details",
tooltipPos = "top",
style = "font-size: 3.3vh";
job = false,
blockedjobs = {},
slot = 1,
Alerts = 0,
},
itll just come down to finding how to add the entry into here
Yeah I did add the performance app into it just like it was shown in the readme
and changed the slot number accordingly
But maybe something in renewed phone is different
can someone help me with the polyzone ?
i want to add a garage spots in GABZ LS TunnerShop, but what is the Polyzone, Polyzone 1 and Polyzone 2 For ?
my guess is that Polyzone is the place the zone should be placed, and polyzone 1 and polyzone 2 are the X and Y of the zzone, so how big it is?
(can't remember if that's how it is tho)
yeah i think a polyzone needs at least 3 vectors
