#talk-not-support
1 messages · Page 2 of 1
Not sure doubtful atm. I haven't set the objects to turn into net enabled. That's something I still need to learn myself
Essentially why I made the suggestion for the job vs fully doing it up haha
I was testing on the containers that spawn naturally at the docks
Got curious after you asked, just tested running 2 clients on the same PC at least and it syncs with the containers that spawn naturally at the docks
Thats kinda cool! So it syncs both picking up and placing it somewhere else?
Yeah from the testing i was doing earlier i had myself and 2 other people in after that as well and they were able to pickup and move the containers. it synced on all our ends. if we ran outta the area and ran back the system did its best to place them where we had put them prior, every once in awhile it would put them back to default spots but generally they stayed in place
There's a translation role to grab in #1043505609724669972 now. We'll post in #localization-🌏 when new strings need translations. A lot easier than keeping track of DMs 👌
@tacit lotus @hard marten
Also Wuggie. No one wants danish translations so don't even bother 
The role also comes with a (slightly) different color for all those individualisation needs 
Oh yea I know that's why I didn't do it ofc!
Not sure why there's even Danish GTA servers... imagine doing RP in Danish
Even worse than doing it in swedish!
yea.. but only slightly, because Swedish is just drunk Danish
Isn't it the other way around?
Danish sounds awfully lot like swedish being spoken by someone with speech impediments
That's kind of how we hear Swedish NGL
I thought Swedish was supposed to be like listening to a Dane that tries to sound important
like posh
well... maybe? our politicans are drunk AF a lot of the time I believe... so being a "posh important" Dane, must be.. how it sounds to be drunk?
Think of my Forza Avatar!
Try cloning instead of downloading
Can't find clone option
open a command prompt wherever you want the files then do
git clone https://github.com/Obtaizen/imports.git
Okay let me try
Also that's a lot of cars he got permission to re release. Smells hella content theft 
It says not an internal or external command
but I guess it's fine since all cars are just stolen rips anyway
yeah you probably dont have git installed
Okay let me see
Okay i will watch a YouTube tutorial
Just a heads up using pirated/leaked assets is the quickest way to to get banned from alot of fiveM communities. I'd suggest just taking the time and effort to build something up yourself to avoid that. While coffee and then are slightly nicer than most it's almost inevitable people will come across it.
I just gave up on this GitHub
Is there any easier way to merge vehicles in one resource ?
Those aren't really merged even
They are still all separate folders for each stream and data files
I see
but I guess maybe since theres only one fxmanifest it imports them in bulk
Any easier and efficient way then his?
I just have separate resources for all mine
What you can do is mimic their folder structure if you like what they did
one fxmanifest (you can copy theirs)
and then one folder named data and one called stream
then have the respective vehicle in subfolders
like they do
fxmanifest
stream / futo / FILES
data / futo / FILES
All you need is a /data/**/*.meta and then the same layout for stream in your fxmanifest
Is there any benefit to have one fxmanifest?

We joinked out all the handling files and put them all into one cause it was way nicer to work with
but thats all i've done
Just easier to manage for resource loading. It's all one folder organized
I can send a pic later of my layout and structure of mine as an example but a basic youtube search of make fivem car pack will net the same results.
Here is a nice quick video on creating your very own car pack.
This makes editing, browsing, and finding stuff in your server as a developer easier!
Join my:
- Discord: https://discord.gg/tehhserver
Download:
Was literally the first result for make a fivem car pack. 👀
Clear verbal steps, walks you through it.
I think most do it the same reason I did. Just lowers resource count from 450 to 300 in server browser. Also makes people come in to see the cars fully. Sense of mystery to see what's available.
Thanks it helped
I want to ask , how do i set up or categorize my vehicle according to Classes , like which Vehicle belongs to which class? A B C D or S?
With cw performance?
No as General
You either have to map a class manually to every vehicle in the game. Either through making a script with a mapping, or maybe adding a class to every car in vehicles.lua and fetching that
or do like cw-performance and just generate the class depending on how the car performs
Okay will look into it
The easiest is probably to use cw-performance, and if you feel it doesnt represent your vehicles well enough then there are easy tweaks in the config
Yeah cw-performance will work for any car
There are different ways to achieve handling to each likings tho. So cw-performance might not be optimal for every handling style
Can you tell some ways to achieve the handlings i can use
Find some handling files you like. Study them. Compare them to others. See what values diffeer and make something out of that
I think I posted our handling files somewhere around here
Covers most vanilla cars + the good custom cars
it's a self contained resource
Thanks
Did we do any vanilla cars that were like THE BEST when we were racing around @clear vine ? 
Uuuhm... I'm not sure actually.. the Kanjo is pretty fast in it's class, and I think the "eclipse" also were pretty fast, can't remember it's name
Elegy was pretty fucking good wasn't it!?
Still sad I can't fit one of those IRL
How do you add another radjob ?
you just need to copy one of the existing jobs in the Config.Lua. They're all named like xBoss, xItems etc where x is the job name.
So if you wanna make a job where you steal hotdogs you can copy all the tables in the config named MethBoss, MethGuards etc, paste it somewhere and rename them all HotDogBoss, HotDogGuards etc
and then update all fields to your liking
Also need to add HotDogJob at the bottom of the config, in the Config.Jobs
It might be easier to construct the job as ONE table rather than split up like we do.
I posted an example for how clownjob could be remade as one chonker instead, in #raidjob-🔫
Showcases:
Joining a race, finishing and all the possible waypoint locations.
Ignore: Double qb-radialmenu items and strings not being added yet 
Last clip shows all locations it randomizes from
location for where races might end
You can challange someone anywhere, and it randomizes a waypoint for you to race to
Like Forza Horizon Head2Head
Get some rest guys , 😑
no rest for the wicked 
🤣
Dude dont leak the CW testing process
yea fiveM just gotta load!!
Here's a short clip with the GPS system :) 🌆🌃
#screenshotsaturday #madewithunity #gamedev #indiedev #unity3d #gamedesign #tokyo #jdm #screenshot #indiegame
1284
229
🤤
@clear vine
Yea saw that 😄 Some games make me wish I could buy a shit ton of games still and had time to actually play a lot...
can't we just get hired at EA and make the best NFS tho!? that should be an option!
I dont think EA can make the best of anything hahaha
WOW!
ofc they can
they have made the best worst company for several years in a row!
Yeah they do make the best case for lootboxes being made illegal
I mean... EA is just the west answer to Gacha Games 😄
I'm fine with loot boxes in games, when it's PURELY for looks, and if everything for them can be obtained, just slowly.. when it starts being actual progress etc.. it's a huge no go
cw-lootboxes coming up?????
Sounds like a great christmas script
Just spawn random packages around the map
at random times
just a scammer walking around selling lootboxes, that are way too expensive for what's in them
or that yea !
Pretty much our traders script could do this, just need to make the packages
Just add an item and a item usage handler that randomized useless shit
it'd take like 1 min to add

It's kind of funny... also because we talked about scammer NPCs before with jobs and Tokens
oh yeeeah
got racing app all setup last night, such a beautiful thing haha also didnt have to change much for ox only a few things
Yeah very little item stuff so shouldnt be to weird
I assume it works differently for verifying the racer?
instead of item.info its item.metadata
thats all ive found so far,
might be more but buying. racing, creating, and everything else seems to work with just that edit
lines
654
663
738
739
in Server> Main.Lua
['fob_racing_basic'] = {
label = 'Basic Racing Fob',
weight = 500,
close = true,
description = 'This basic fob allows someone to join custom races.'
},
['fob_racing_master'] = {
label = 'Master Racing Fob',
weight = 500,
close = true,
description = 'This master fob allows someone to create custom races.'
},
for the items.lua in ox
incase anybody ever comes in asking later
Multi page prints pretty much done.
Updated ui for racingapp pushed.
Outrun mode for head 2 head done (needs testing)
Buy ins for racing app done (needs testing)
Plateswaps almost done
Fixed raidjob
What a day!
Sneak peak. Dont tell anyone.
||Comparison between a normal car and one where we add custom tuning parts (obviously this wont be the difference in the end product
)||
Don't steal the thunder from my drifting script 
Whenever people send me screenshots of their IDE with a light theme I cringe
I could never deal with that eye bleed, tbf people critique mine because I don’t use a pure black background, it’s a darker blue. I forget the theme name. It’s close to black though
Default VScode theme 
Probably tbh, I used a vivid black theme for awhile. Found the darker blue easier to focus on
Hello
Eyo
i want to ask how can i download a specific github file not the whole Project
Go to the raw file and save it, really though you should just lookup a guide on using git
WDYM
using git i get fatal repository error when using git clone command
I’d do more research as honestly learning git will save ya time and in comparison to any of us trying to teach you it there are 100s if not 1000s if tutorials for git as it is
All well outlined and explained
Also this is #talk-not-support and not support so should be put there at best
XD was the first thing I noticed
What do you mean "do you not have eyes?"
I can perfectly see that it says "Start Assignment" right there if that's what you mean!
It's my incentive to work more, so there's more black on the screen, so I do not go blind!
Man, I changed nickname on Twitch just to get away from that, you asshat
Lmaoooo it was an accident I promise
btw
the new discord font is so bad
I've realized that i can barely read mine and wuggies name now
but it was fine before
due to the font + color
(I use dark theme normally btw... I do not enjoy being flashbanged every morning)
Maybe you've used too much light theme. HM!?
anyway, brb from the chat, gonna see if I can solder some shit together xD
Anything fun? I got a few 18650 powered circuits I need to build for some portable lights at my job.
Nah just some neo pixels
Ah I mean it can be fun depending on the project then, i setup some turn signals and brake lights using those and an esp32 with momentary buttons. Never got around to Bluetooth app control like I wanted
It's for a board game with digital components that also uses a tablet to control the game.. so it connects to an app etc
over wifi
That’s pretty sick honestly. I love where technology has taken us. I grew up as a kid using window 3.11 and seen it all along the way, still love seeing the smaller diy stuff
I mean I’m only 33 but the advancements and how much easier it is now vs 15 years ago makes me so happy bahaha
pushed pr for raidjobs
No problem
It was happening when they were doing the clown job, but dying before getting to the case.
[ script:cw-raidjob] SCRIPT ERROR: @cw-raidjob/server/server.lua:106: attempt to index a nil value (field '?')
Like what yall doing though. Keep it up.
How do they die on clownjob 
thats like 5 guys with knives
and one guy with a musket hahaha
LOL Truthfully. 👀 at some point, there's gonna be goofballs like my guys LOL
Ah, it's because my guys configured it to have shotguns/smg's
LOL
Yeah thats a tad more deadly 
The cocaine raid shotgun dudes are wack tho. I think they also have higher aim
I wonder what happens when you totally dump the aim skill for the npcs 
🤣
sounds like a fun idea
One job where it's all random positions. All same skin. One dude has DEAD EYE AIM and like full armor. The rest can't aim for shit and will die if they hit a pebble
LOL
Well I don't play much so I haven't played it myself.
But, I just pushed another PR
Add's job-specific cooldowns.
Left the original one, for a "global fallback"
Siiick. Someone actually requested that the other week
it's been broken since we rewrote the original script way way back
It was simple 😅 since you already had it basically set-up
🤔
Hmm
is that so
don't accept the PR then ill go into more depth with my bois to verify that
yeah i think we never check for the cooldown in the the client side
you do. You have it being used as a callback
oh 
🤔 hmmm
not at my pc so can't check-check it
It might be that currently it's a global cooldown?
So if anyone does a job it'll trigger a cooldown for everyone
Nah the cooldown on server is global atm still. Just realized I need to link it to the job-id specifically
so we'll do a cooldown-table
Im testing rn
Also, random thought, but will the jobID be same for all players? Cause iirc the ID is the job index from Config.Jobs
and since lua is a trash language it'll have different order depending on the moon cycles or whatever
Testing it works.
Since jobID isn't fluid, and doesn't change based on them starting it, it's all good.
whats the jobid based on?
is it the name?
uuhh
The jobID is deffo not gonna be static
I think
It's set from the QB-target menu
And that's even worse at sorting in the same order than LUA itself 
I think setting the jobid (line 134) to the jobname is best
(and 158)
I'm honestly surprised this even works two jobs in a row given how lua does tables
hmm. JobID is set by the line it is in the config.jobs. I've never had an issue with it re-organizing the list. But that can be easily fixed by doing [1] = value
it does?
OH SHIT
they got hashes
probably
so it wont be like "jobid = 1" it will be "jobid = MethJob"
yea
Looong time since me an Wuggie wrote this script 
Tbh though
Config.Jobs is a list of tables.
so its really more like Config.Jobs = {jobname = {table}, etc..}
So it's actually fine
Yeah that's where it gets the hashes I think
if it doesn't break it doesn't break 
Super thanks for the fixes 
ahh shit I thought you were done 

Yeah we're good
@ashen raft pushed another pr. the spawnped method was okay, but I've made it better
also if for what ever reason I need to talk about this again lol I'll use the correct channel x'D
I hope you tested this thoroughly cause it's going in!
Also what's wrong with using their build in spawnPed?

If you restart the script live, it just stacks peds. Otherwise your way works, just most spawn-ped goes this route now. Least from what i've seen.
And yes I made sure it was fine x'D
Made sure to get my city folk to test it.
Hahah oh yeah right. Fucking QB won't add my mega simple fix for that
i made a PR like a month ago
to just return an id when creating the peds
so they can be cleaned
It's like a 1 line fix

I basically re-did qb-weapons and added a realtime weather option for qb-weathersync but neither have been accepted lol x'D
I just hate how the non-spawnPed thing looks
having to use all the natives just looks... ugly
I can agree with you there.
one day x'D
Yeah but that's quite a bigger fix than me adding ONE ROW
so pissed it's still open
I reached out to a two people who could accept pr changes for qb-core lol
simple as
this is the entire fix
to make spawnPed the optimal way
Word. Idk, they're hard as hell to talk to, since most of them don't give a crap tbh
so getting any PR changes you have to beat around the bush 100 times till it's in.
Or know the right person
I don't care to know anyone on qb staff.
Do i have to add the head2head to the radial menu?
Nope. It adds itself whenever you hop into a car
Unless you're using something else than qb-radialmenu of course, then you might have to fix the implementation
doesnt seem to work for me with qb-radialmenu, is it supossed to show when somebody is close or everytime?
It should show up if you are in a driver seat in the first qb-radialmenu that shows up
are you getting any errors?
If you want further help, please post in #head2head-👥 and I can help you there 
I just noticed something pretty weird.
Our rgbpainter script has MORE youtube views than racingapp... but there's no one reporting issues with it 
So there's clearly an interest in rgb painting... The script has 8 starts and 5 forks even. But no support or even suggestions 
Like where is the "cAN YOU makE tHis fOR this PhONE and ThIs LApTop aND tHIs nopIxeL InSPired VR heaDSet?" 
lol
any 1 ever experience UI'S popping up on your screen and cant get them to go? forcing players to relog?
What uis?
All of them pop up. Like casino slots/ the one from ps-ui like the mini games. And then people lose all apps on phone and the voice range disappears. Been trying to figure it out for days 😟 only way to fix it to Relog
Hmm. Maybe some script is triggering them all
weird af that they wouldnt be able to close them tho
i think it could be xsound atm but not 100%
i am stopping the scripts 1b1 but its hard to test as it dont happen right away its so weird lol
are the scripts standalone or set to qb or esx?
Qb
Anyone interested in a cw-crafting? 😏 heavy WIP don't judge to hard.
Hey nerds.
We hated the idea of the crafting grind, so we made a crafting script that's focused on blueprints that can be aquired from loot or by having the correct job.
The first clip shows the menu for a basic crafting table. As you can see it shows the amount of items you get, how much components are used and how long it takes to do. Pretty simple.
We then use a blueprint. This is an example of a recipie that does the same thing as the one we just showed, but just better. So like a pro version or whatever.
The second clip shows the special table. You'll see two options here, this is because I was lazy while devving and decided to just use this type of entity for our secondary tables.
You can use whatever models you want, all customizable in the config. At first there's nothing in there, since I dont have any jobs that have access to these, and i dont know any
recipies that work on here. But then I swap to mechanic and we got access to crafting recipies for that specific job.
You can also learn blueprints for job-items and know them permanently.
You can set items to be available on multiple table types, so for example repairkits are avaiable on basic and mechanic tables, but advanced repair kits can only be crafted on mechanic
tables etc.
Also, Happy Holidays
haha happy Holidays guys, you two get a white christmas?
no snow here atm, were supposed to get some later
ah well id be happy with no snow xD we have a travel ban in effect atm its been coming down for like 32 hours now
to be fair, it allowed me to get alot done on the server last night so it works out
Side note, merry christmas 😛 one of you will get the notification
im right there with you, -11 (C) here i wont be going outside unless i need to lmao
This is 🔥🔥🔥🔥🔥
can we get interior colors to and wheel?
i was actually talking with coffee earlier, while there might be a way in the future with the current known means and natives it doesnt seem possible.
Yeah. The only fivem natives to take rgb is primary, secondary, xenon and underglow
This thing has been my little side project for some time now. Finally taking shape!
Interchangeable parts system that affect the performance and handling of cars real time.
The idea is to add in game items to represent all parts.
(if it's not clear: the shitbucket Atlas goes up from a C372 to a B511 in class)
That’s actually rather impressive haha
Just trying to help here, maybe someone else had this issue too for consumables in QB.
cw-vending > server > server.lua lines 71 -87 are not needed as they overlap with functions in smallresources. Took me an hour to realize that the vending script here did that too... other than that it works great!
Im working on a little project and was hoping for help, does anyone know how to find Time Cycle Modifiers (the filters for drug effects ) I've been looking around but I can't find it.
Thank you, 😊
hi
Eyyo
i have a Question
The answer is 42
xD
I’m kidding but what’s up
i solved the Problem i was gonna ask it was simple so No worry
If you search my name in here, you’ll see a lot of my problems were solved in that exact same way
Ask first then 10 sec later boom I got it
Not sure if anybody is interested but I essentially rewrote the wasabirobbery autopilot script. It’s QB based but only for notifications. If anybody wants to test it out feel free here.
I’ll answer general support questions if needed in #not-cw-support-fivem-talk for it. Most things should be easily figured in the config.
https://github.com/Khatrie/Khat_autopilot
Upgrades include:
actually stopping at the waypoint
Brakes disable autopilot
Collisions disable autopilot and activate car alarm.
False police notify alert to make the players panic a bit.
Yeo cuties! So, the racing mamajammas is it compatible with ox_target?
i dont believe it doesnt use entityzone so it should be good, we use Ox on ours currently and i don't remember coffee complaining he had to edit it lmao
@fleet wharf
wait, spawnped might not work
#racingapp-🏁 message This will help with that though
don't hate me for asking this, where can i add it? 🙂
i JUST saw it lmfao
bahaha
last question!
does this work with renewed-phone?
we use Renewed Phone so yeah
fuck yethh
i meant asking what part works with it xD
Enjoy! any questions with any of my suggestions and ill help out where I can. all of it works well in our city though so it should be flawless
send me a link to the city brotha!
i love roleplaying too
We are a lil bit away from release atm, just patching up all the bugs and doing the fine tuning.
ill go break some shit later!
if you need me to! ❤️
go for it, youll have admin menu access until release
cool!
we gave it to all testers so they can truly wreck havoc, best way to break it after all
i agree!!
sorry for the @
Any ideas? - maybe im an idiot
your good dude. uhm this is for racingapp right?
yeahh, i believe so, i followed all integrations for the phone too, no app there either.
I think i might do a little more self debugging, im just a little tired. lol
the error is saying that you didnt assign the dongle to yourself, how did you give it to yourself?
-
Well, i found the head2head errors out because of what i am ASSUMING is the radialmenu type/version
-
/createracingfob master id Smokin
try putting your name in quotes and doing full name
i just did /createracingfob master 1 "Khat B" and it came out perfectly
I was adding id not the id number lmao
lmaoooo
hahahah a
yep, time to go to bed lmao
lol what radial menu are you using?
newest qb one, apparently doesn't have add/remove?
it's a weird one, gotta ask my partner! He's the PS dev, so he knows more.
lol yeah id ask them because i just looked at the github and even newest has it in client file xD
@fleet wharf yes, read inside the script folder, should be a readme thats tell you how to set it up
👀
i ended up getting it thank you.

Coffee ! how hard would it be to make the cw-print script work in vorp? the redm framwork
I have never used redm haha
But I guess if you can figure out a way to display the menus and use the items and all that jazz then you're good to go
Im gonna try, the framework is the same , and Kakarot made a QBR-Core basically qb core for Redm but i never tried to convert something
thank you !
I think some parts of prints still use PS-UI, but the new part (the multi pages) use a custom made UI
so i'd look at multipages. That way you can skip using an external script to display
Hey @ashen raft, i need your help, i can not find the right line to reward (item) the racer when he past the next checkpoint, in your server main racing app. 
hmm. let's continue in #racingapp-🏁 🤔
Hello is there anyone who knows how to fix this ?
Someone had this error in #head2head-👥 recently..
So i need to change my inventory to qb ? right now im using qs-inventory and its practically the same as qb-inventory
I honestly don't know the fix haha. I would assume it's related to radialmenu
Haven't seen the error myself afaicr
Ah wait there might be a simple fix.
change this line: https://github.com/Coffeelot/cw-head2head/blob/main/client/client.lua#L441
from exports['qb-radialmenu']:RemoveOption(radialMenu) to
if radialMenu then exports['qb-radialmenu']:RemoveOption(radialMenu) end
Please try this and tell us if it works
In that error you can see the lines that it's not working on. Open the file and check the lines. I'd assume you need to to the same thing you just did to those lines aswell.
I'm like 99% sure it's a harmless error tho. Won't stop any processes
Do i change it also on radial menu or i leave it ?
Nah. Unless you wanna solve it in a good way! Haha
The best fix for this, imo, is to make sure radialmenu just ignores nil calls. But if you're unsure of what you are doing I would just leave radialmenu alone
Yeah i might just leave it.. but it still send me the error....and i cant process to do a race
The removeoptions have nothing to do with starting races
You gave to have another player accept the race also, unless you're running it in debug mode
Ohh.. wait i just restart the script in debug mode and solo race and the errors are gone.. but dont see the menu to start a race in the radial menu....
It won't show up if you are not in a vehicle or if you are a cop
When i got in the car it gave me an error but not the same...
Yes. You have to update it in the outrun file also. Same thing
Ok no error this time but i cant see the option in radial menu ...
Yeah I have nothing to go on with just that so can't help you. Maybe you messed something up haha. Please post in #head2head-👥 if you need more help and you have more information
Ok i will do, but is it maybe because my radial its full ? like no more space to add more options ?
If radial menu has a max limit then maybe.
At least all the errors are gone....
Whare are folk utilising for drug processing with ox_inv, not sure if its worth converting ps-drugprocessing, it's messy as it is
At sundown we decided to make our own. We created tables that spawn randomly (500 potential spots) and can be shut down by cops etc.
The actual processing is rather simple if you don't want to make it to complex:
Interaction
Take x items
Minigame
Progressbar
Give y items
If you wanna make it even simpler you can just create recipes in #crafting-🔧 and create processing tables there
Any interest in a drift toggle script?
We had one it was awesome but we had to remove it cause it made cars and stuff go 200+mph
Yeah this one actually makes them SLOWER topspeed wise
it's just a toggle on/off for the GTA Drift Tyres
Dope then!
Is it possible to utilise trading almost as a pawnshop system, looking at it not as it's an item per ped?
Yes it can do multitems
There are several examples in the config for traders
QB core based script for adding traders. Contribute to Coffeelot/cw-trading development by creating an account on GitHub.
I would say, something like GP-traders might be better and easier if you do want lots of items.
So the drift chip will not work if I have LJ-inventory?
Set it to qb and it might work
Ok thanks I will give it a try.. I figured i would at least ask first before downloading as I did see your hilarious comments/notes on it.
someone who has pitstop garage ? 😄
Love the vibe of pitstop lol
Even if they did they couldn't share it. It's locked haha
The "unlocked" version just has some parts editable.
I dont even see the unlocked one version 😂
Hey @ashen raft Any eta for the ps-hud speedometer edit release ?
Not really. Maybe sometime after sundown Rp is released 1.0. It's probably an old PS Ui version anyway haha
🤔 okayy
@ashen raft is there a way you can add LB-Phone to the raid or make it work with out the phone >
love the idea of the raid but i dont use qb phone
would there be a way to remove the phone out of the script ?
Yeah just find all the places where its called and remove/change em
👋
Anyway to get the redline off the map while racing? and changing it to a arrow above each checkpoint?
Start replacing every use of blips and stuff
Hey can someone that knows cfx lua better help me
Lab.Meth[phase][interaction] = bool
TriggerClientEvent('ec-narkotyki:client:meth:changesharedstate', phase, interaction, bool)
end)```
```RegisterNetEvent('ec-narkotyki:client:meth:changesharedstate', function(phase, interaction, bool)
Lab.Meth[phase][interaction] = bool
end)```
TriggerServerEvent('ec-narkotyki:server:meth:changesharedstate', 'FIRST', 'GENERATOR', true)
Lab = Lab or {}
Lab.Meth = {
['FIRST'] = {
['GENERATOR'] = false,
}
}
The value dosent change and always stays false
Propably Im idiot but fuck that 
When you trigger the client event you don't have a source
so how can I trigger it for all players
If source is -1 it goes to all players
So? RegisterNetEvent('ec-narkotyki:server:meth:changesharedstate', function(src, phase, interaction, bool) src = -1 Lab.Meth[phase][interaction] = bool TriggerClientEvent('ec-narkotyki:client:meth:changesharedstate', phase, interaction, bool) end)
Yeah
You set it to -1 in server side
Hmm it dosen't seem to work
still returns false
nevermind I think I found it
Okay it work Thanks (;
Novice question here but I think Im finally learning some stuff 😄
Im not even sure my example would work, but if it did Im sure it wouldnt be well optimized. anyone care to help?
Id prefer if you've got the time that rather than someone just throw me a snippet to explain the logic behind it. Thanks in advance. ❤️
What is it you're trying to do? Make it give less stress?
yeah, I think my friend actually managed to lead me into answering this myself.
CreateThread(function() -- Speeding
while true do
if LocalPlayer.state.isLoggedIn then
local ped = PlayerPedId()
if IsPedInAnyVehicle(ped, false) then
local veh = GetVehiclePedIsIn(ped, false)
local vehClass = GetVehicleClass(veh)
local speed = GetEntitySpeed(veh) * speedMultiplier
if vehClass ~= 13 and vehClass ~= 14 and vehClass ~= 15 and vehClass ~= 16 and vehClass ~= 21 then
local stressSpeed
if vehClass == 8 then
stressSpeed = config.MinimumSpeed
else
stressSpeed = seatbeltOn and config.MinimumSpeed or config.MinimumSpeedUnbuckled
end
if speed >= stressSpeed then
local StressSpeedChance = math.random(1,10)
if StressSpeedChance >= 4 then
TriggerServerEvent('hud:server:GainStress', math.random(1, 3))
end
end
end
end
Wait(10000)
end
end)
testing now.
does this mean I nailed it? 😄 Im hopping on now to test.
Yeah thats how we do it hehe
rearranged it a little but I got the idea. sweet!
CreateThread(function() -- Speeding
while true do
if LocalPlayer.state.isLoggedIn then
local ped = PlayerPedId()
if IsPedInAnyVehicle(ped, false) then
local veh = GetVehiclePedIsIn(ped, false)
local vehClass = GetVehicleClass(veh)
local speed = GetEntitySpeed(veh) * speedMultiplier
local StressSpeedChance = math.random(1,100)
if vehClass ~= 13 and vehClass ~= 14 and vehClass ~= 15 and vehClass ~= 16 and vehClass ~= 21 then
local stressSpeed
if vehClass == 8 then
stressSpeed = config.MinimumSpeed
else
stressSpeed = seatbeltOn and config.MinimumSpeed or config.MinimumSpeedUnbuckled
end
if speed >= stressSpeed and StressSpeedChance >= 60 then
TriggerServerEvent('hud:server:GainStress', math.random(1, 3))
end
end
end
end
Wait(10000)
end
end)
now looks like this if youre curious. ❤️
Hey @ashen raft can you tell me how to use ox_inventory in qbcore
what inventory is this
Ox_inventory
So how are you using this inventory?
No no, you misunderstand. I know how to install it, but it's not something I got time to explain
Im sure theres videos and a tutorial out there. Google it
so can you send me the video
I've looked on google but can't find anything
ok ok
Have you already got resources installed to a qbcore server? @crimson ridge
If not I would just say to setup a QBox server if you're interested in the Ox package and see what you think, but if you already have a lot of resources that may need converted over then yeah Like Coffee said, that can be a big task. And certainly not one Id know how to explain
anyone well versed in cutscene creation cause i'm trying to create a cutscene and it's doing no cutscene, spawns what i need to nearby though.


@ashen raft do the new drift script mess with something on car ?
I did try ather drift script and renzu stancer and they mess with car settings, only way to reset them to default is to change the license plate
Btw i use u drift chip now with the drift tire i saw it is, not sliding to much and not much power oh wheel but is not doing bad at car and that us what i love it
It adds a drift Tyre flag to the vehicle when used. Same as exists in gta online
It doesn't save anything to the vehicles. It's only client/user side.
Like it says in the readme, it won't work for all handling setups.
@everyone sneak peak of cw-tuning 👀
Basically replacing GTAs shitty upgrade system with component based one. Built to be scaleable to add any components and categories you could think of, and fine tune what each component will give. So you can have 10 different turbos each affecting the acceleration and top speed differently
Will require Ox lib and inventory btw 🐂
(hope that makes you happy khat
)
Aw. No support for qb-inventory?
Nah. To much work when its working with metadata
What about the ability to change sound file for different engines?
Doing engine swaps handling wise would take like 10 minutes to make with this system. Not sure how easy it is to change sound files on the go tho
Hey any chance you can dm? I have a few question for you!
Put em here ✌️
Was wondering if it was possible for you to do custom work?
Will pay obviously
I need a learnable blue print script for okok crafting
I dont think that's possible since okok crafting is escrowed
They are pretty cool about things like this. What functions would need to be Unescrowed
I don't know what's open and what is not sadly. Anything that touches access to what blueprints you can or can't see at least
Do this CW- tuning will deal with Internal Part dmg ? or just the upgrades? +.+ like this (photo example)
Would you like to see?
I'll DM you
Perfect
Not planned no. Mainly to avoid having to deal with constant loops and checks
@everyone anyone interested in testing out a script for me?
REQUIRED: You use Renewed Phone and you're competent enough to add apps to it.
It'll be one of the scripts included in the bundle mentioned in #updates,** for free **
If so, send me a dm ✌️
👀
DM IS NOT WORKING, I AM AVAILABLE BY THE WAY, FOR TESTING
yeah you got Dms disabled for non-friends 
Im so hyped for invasion 
I had such a good time playing Invasion when we had it on the server
Skulking around in a car trying not to get spotted
I don't have a recent showcase, or a good one for it, but here's a lil example vid i made of it in action
ngl when scrolling through my server list i thought the server icon said chilly scripts hah
We are kinda chill 
Chili wiener scripts
Yo @ashen raft you may want to check your store to see if its enabled. Its not showing up currently
@ashen raft Yo coffee, i love your work!
Appreciate it ❤️
So, @everyone, I'm finalizing the compilation today.
Any specific packages anyone would like to see as a solo package, or a mini-compilation? #updates message
Right now I'm thinking of having it be:
Compilation (all 8)
Tuning (solo)
Jobs (Trucking + Delivery)

Invasion would be nice
Hey was just wondering if there was update for cw-raid2 cause I'm having issues with job clean up like the peds and case are not disappearing after job completion and case key not spawning on the npc.. any thing im doing wrong or does it happen sometimes
haven't touched raidjob2 in quite a while. It's a mess haha.
Oh my bad to bother about it brother I use it to create small event jobs guess I'll have to figure something out appreciate your guys work and the response thank you
You using ox? I know it works ALOT better with Ox haha
No im on qb-core
Oh whoops yes I am using ox lol
Lol I said no im on qb im dead
Everything g works excellent till clean up
you where talking about oxmysql right
No, ox-lib
Khatrie fixed the ox-side of Raidjob and said it was working flawlessly with multiple users etc.
It does some cool magic with server ids and stuff I think.
fa sho thank you
Jobs please
Ah shit forgot about those
setting em up

https://cw-scripts.tebex.io/package/5992860 There ya go ✌️ you can either grab it a bundle or separate
❤️❤️❤️❤️
we never pushed any of those since we were waiting on the QB side of it all and i said fuck it on that
My suggestion if we were gonna push that code is sadly to remove QB basic support from the resource
i mean yeah essentially
i cant be assed to support something as... Unorganized as QB basic
Is the trucking job fully open source or is it partly escrowed
All scripts are fully open source. Unless I messed up again 
Again? 😮 ♥️
I forgot to put the escrow ignore thing in the FX manifest for tuning
Fixed now tho 👍
@ashen raft hacked account
Hello where can i get database logging system ?
Part of the bundle here
https://cw-scripts.tebex.io/
yes i bought it but i don't get it. i got 2 invasion
Lemme take a look
Sure
There. Fixed ✅
Also, I noticed you dont have the discord role. If you want me to add it manually for any further support for paid scripts you can DM me and we'll fix it
Yes sure thank you
Not sure where to ask but didn't want to DM any devs.
Do you guys do any freelance work for custom scripts?
Thank you 
I was looking everywhere before I sent anything in the chat, I am legally blind now XD
It’s quite a bit up there with a lot of the releases happening recently. No worries on not seeing it.
I'll go ahead and create one of the support tickets if that's the correct spot for an added feature request.
Sounds good, coffee will get back to ya whenever he is around
Perfect! Appreciate the help
#suggestions is probably what you're looking for.
But if you're interested in supporting the work we do and Commission it instead you can dm me.
So with this new user management update, are we able to do away with the racing fobs and just add racers?
The new update ditches the old items. So you HAVE to do away with them even
But yes. All user management is now handled through the database table instead
I explain it somewhat in the video, and in #sneak-peaks.
Nice
I didnt like the old fob system. Glad to see it evolving
So if you dont need the FOB can you do away with the whole inventory system or do you still need the tablet (item)? Or can you just call the tablet with a command?
Yeah it's horrible, and a pain to scale. The new system basically means any new features can be added and locked behind permissions on a whim 
Only good part about it is that I managed to get ONE person to be dumb enough to come her after they got the message telling them they were an idiot 
You still need the tablet to open it yeah. But you can always just replace the item usage thing with a command and it'll work exactly the same
So yeah, with this, I can probably remove pretty much any need/use of the inventory system outside of the function to create the useable item.
I have no need for an inventory system in my game so thats why I was asking, If I can get rid of the whole thing that would be great
If you could create the ability to just open the tablet via a / command that would be peaches.
Not planned, but all you gotta do is create a command in the server file that calls the function called UseRacingGps and it'll open
It needs a source. The item variable isn't used (forgot to remove it lol)
Cool
Just wanted to make that thread ahead of time
this way when its asked i can link it

Oh might also wanna mention that has the fully integrated Renewed phone groups
with the status updates and progress and everything else sent to the phones
that in itself was a .5 upgrade lmao
oh nooo, im using qb-inventory 😢
Sorry, @dreamy shuttle i stopped doing QB-inv work prob a year ago now
Ox honestly is supreme in everything that it does vs QB standard
its just a higher learning curve
welp guess like it's time to rebuild my whole server lol
I'm in a dilemma, because some of the scripts I use ask for qb-inventory😢
Just convert them its not hard. Ox have good documentation
Problem is database
database conversion used to be able to be done with a command when you first started the ox setup
Not whole database thats the problem
Only thing that really breaks with ox-inv is the info/metadata stuff haha.
Would've prob worked out of the box if they didn't change the dabatase column name 
tbh what i hate the most from qb-inventory is the weapondraw/holster function where it's look like not consistent, but i also don't like the cash item on the ox since i always love the gta style money lmao
you eventually get used to the cash as an item, it also does add to RP if thats the server your going for
Its much much better than qb ps and etc inventory
Hey im trying to use the raid job but when we set cops for the job in the config we can't target the peds 😦
old raid job btw not ox
iirc it takes a while after someone swaps to a cop before it updates the cop amount in QB
sweet thanks ill give it a try
iirc it updates every like 1 or 10 minutes or something like that
Kinda like qb-drugs then
yup
You can probably rewrite the cop amount check to be more accurate but I don't think Qb really does real time updates of all jobs consistently
ill keep it like that give cops chance to get ready before they get spammed with calls XD
Yo, <@&1043506590663319622> users, anyone who's had time with the new user management system? Would love to hear some thoughts

Have used the latest version of the racing app.. management system is very nice..
Are you also on patreon?
Or can I only support you through this coffee page?
<@&1002205972128878612>
We got a tebex with cheap scripts if you want that, and a BuyMeACoffee page
I think GitHub is also setup for the sponsor thing 🤔
That is quite possible. I don't know enough about that ⭐
Merry Christmas all!
Its taken me a bit over a month but i finally got npcs running somewhat fine on clientside in my script
turns out it was the hash section of the createped native also i made a mistake somewhere else in the code which caused the npcs to spawn in a different area but it seems I can finally start proper work on a lib of some kind for devs to easily work with ped bullshit
Oxlib does this. If you want something to look at 👍
i'll have a look at it but I have already managed to fix the problem by just taking the hash grabbing native and chucking it in its own function that also handles preloading the model i then store the resulting hash as an int and chuck it into the createped native
kinda shit code but somehow more stable than when its compacted
i just realised that the above msg may have seemed to be talking about someone elses code but that is my own and I am incredibly tired atm 😅
Hello, I am dedicated to creating props. If you are interested, I can create them for free for any of your scripts.
I can create crafting tables, tablets, etc... whatever you want
Send you a DM 👀
does the race appp pscript
work in esx
i dont think so
but is there any esx racing scrippt
Nope. No ESX scripts in here ✌️
hii, are your scripts on tebex open source?
yep, all of them
Coffeelot just wanna say big thanks with the crafting system, cannot wait to get it implemented

Appreciate it ❤️ 
Hi, I just bought the cw-trucking script and when I try to start it, I get this message in console
You lack the required entitlement to use cw-trucking
Sounds like a license issue between your server and Tebex. I'd try googling "You lack the required entitlement to use"
my cfx
hi all i had the exact same issue please note realkeemoutside has the correct sulotion all you do espesialy when you are renting a server go to your cfx.re copy your server licence key (no need to create a new just copy existing) go to your server.cfg and replace that key with your copied key if the key in your cfx.re and server.cfg file dont ...
are you tunning through zap & using filezilla? if so, try the WinSCP or whatever the secondary program is
FileZilla is known to cause issues with encrypted files for whatever annoying reason 😂
👍🏻 work perfect
Hello guys I've got cw-racingapp and its fantastic, but I have a problem, in the race creator it doesnt let me place any checkpoint, and do nothing with the menu, not even leaving the creator
I dont know if I qualify as config monkey, but Im all yours if you need me!
Hello
I have a problem with cw Notes. Can anyone help me?
it won't install, can anyone help me
Hey 
Just A Suggestion To Make It More Simple And Clean @ashen raft
Rather Then Executing All Function To Attach The Prop Thing For Tablet In Racing
Mostly Every Server Uses > Emote Menus
If This Event Is Triggered cw-racingapp:client:openUi
ExecuteCommand('e tablet2')
And If This Event Is Triggered UiCloseUi
ExecuteCommand('e c')
That'd mean it depends on server what emotes they have with what name tho
mostly all emote menu consist the same for tablet
but yea just a suggestion to reduce some code nothing much xD to see more clean and less code
Nope. Yesterday was probably the last for a while, apart from bug fixes
thanks then let me go through more of the part of new update just started looking over
Hello, sorry if this has been brought up before. I downloaded raidjob2 last night and while testing it out found that the case won’t open, it keeps telling me the timer is still active.
For testing I lowered the time in the config from (10000) to (100) but still received the same issue.
Only possible thing I could see is a pop up saying this emote isn’t valid. Is it possible my emote menu isn’t compatible and is breaking the script?
Will do, thank you for the response, and sorry for posting on the wrong area. 😅
And if it's the non-ox version then you're pretty much on your own. That script is kinda left to die 
hi! is there a video for the gearing? just curious 😄
No official release video done yet. But there is one #sneak-peaks
Here are some more I had laying around
The V8 Rebel was to showcase an engine swap from Tuning, but it has manual also so it made it's way in
Thank u!!
@ashen raft umm
Fuckin bots 
hi i would like to no if i could use the tuning script for my server for the trucks and change the gearbox to manual
Yeah it comes pre prepared with manual gearboxes that will work with gearbox script 👍
ive checked these over and im still so confused why it its saying weapon doesnt exist
i use ox inv, these items are in both qb, ox, and both relevent Weapons.luas too
One possible thing is that items are case-sensitive. So if your weapon is named "WEAPON_UZI" in your weapons file but "weapon_uzi" in crafting it wont find it in the check
appreciate it! got it all working apart from for some reason only one table spawns when i have three set, and im struggling a little on where exactly i put the blueprint export in for say qb-truckrobbery, i put it where you get the loot in the server.lua but no luck
Could you open a ticket in #1176825221785849977 and I'll try to help you debug it
ty!!
With the ELO system in the racingapp, is it feasible to make a player lose ELO if they get arrested?
For sure. Just gotta use the correct event. However, it might be best to wait cause I was planning on adding Elo removals for leaving races
Which basically does what you want
Amazing. Cant wait for that update
i still learning how vue work how to edit
because try to make crafting now not with slider but just input with a number what to craft
when using the racing app, if you make an account through the trader/laptop are you able to upgrade that account? Or do you have to make a new user account to upgrade?
There is no way to upgrade accounts
Ahh, shame. Maybe in a future update 🤞
how to recover if you lost racing fob?
buy a new one
Hi Coffeelot!
Can I write to you privately about something? I don't see the ticket section.
Thank you
#1176825221785849977 if you need support
I wanted to talk to you about a possible addition to "cw-racingapp," obviously compensated
If it's a comission you can DM me @small mica 
Any reason why when I add the blue print to recipe it removes it ? But when I take it away it appears back ?
You probably haven't learned the recipe then?
If there's no blueprint tied to the recipe it can be crafted
where you input you crafting skill rep?
i see in the metadata but can you change to a own skill menu systeem?
Ahh so you have to learn the blueprint then it will appear
Yes that's the idea. Learning blueprints unlocks the recipe
That why i using blueprints
because i to many grinders crafting for life..
so i try to change a little bit
blueprints put in some jobs or thinks what you can do
Yeah it's why I created the script. I hate the crafting grind 
Same
Yeah that’s sick I just wanted to know the way before i presumed
Just want to make one script for all the lvling
It capped with repgrading when have max level. Until you add more items
Love how you push updates straight away with more info aswell top man
don't tell anyone 👀
It's done, I think, haha. But I need to write the readme.
It's basicallt mz-skills but fixed. It should be backwards compatible also.
cannot wait to test it 😛
Hi guys, Is the cw-plateswap supposed to show metadata in the plate description?
if you have ox-inventory then yes
Ah im on QB
Then no
Its letting me take the plates off but not put on another car
If you have issues please open a ticket in #1176825221785849977 and before you do: READ. THE. GUIDELINES and do what they say 
Cant find it 
Ah now that I think about. It's outdated anyway. I'll make repo when I have time

Hi @ashen raft, Mind if i DM you 😄
If it's related to commissions then sure 👍
Thank you:)
does the ghosting allow entities from outside the race to interfere such as police?
<@&1002187624259256350>
@ashen raft
<@&1002187624259256350>
I sadly can't delete the messages, I think only Coffee can atm
RIP
Yeah
Cleaned up the channels and removed the ability to @ everyne for all roles . No idea why it was allowed even lol
you know the channel has become big when these return all the time
@ashen raft i’d suggest getting mee6 and preventing that
Automod can do it
or using discord's automod
not necessarily, they’re just bots which run through a program which constantly searches for invites and when it finds one it then sends that in all visible channels
dammit 😛 I was just trying to find the positive in it 😛
😂
but yes I know, I never had it with smaller channels though xD they might be more "hidden"
i used to sell bots that do it
yeah so typically they look for discords with 200 or more people
I'll try fixing it as soon as I'm home again. Phone app is pain lol
For my server i used this regex in discord automod feature it blocks only discord invite links regex (?:(?:https?://)?(?:www)?discord(?:app)?\.(?:(?:com|gg)/invite/[a-z0-9-_]+)|(?:https?://)?(?:www)?discord\.gg/[a-z0-9-_]+)
What does that mean? Invite links stop working?
you can set automod to block sending invite links with that
or just warn/mute user
Aah
There we go. Should be a bit more secured now 😅 fucking bots lol
Whats the purpose even? Who's dumb enough to click those links
fr
Nooo I was looking for that link 😂
Does the gearbox work with jim-mechanic? 🙂
Pretty sure Jim has it's own gearbox system, so no. I'm sure it's possible to disable his and use cw gearbox
Hey Coffee!
you add local to the crafting script?
or i need to rebuild the script
Crafting had no localisation, no.
i rebuild but get errors?
i not rename the script
only change english to dutch and rebuild
Then you did something wrong. I can't really help you debug building scripts. There's a link in the readme with instructions that are pretty much the instructions I can give
Can I get extra XP for an item?
For example
With a lockpick you get 1xp and with a pistol 10xp
You get more xp depending on the craftingSkill the item requires
Almost at the top of the config you can find the function that handle this gain if you want to change it
iknow
Config.CraftingRepGainFunction = function(skillReq)
if not skillReq then return minimumSkillRep end
local skillGain = 1 + math.floor((skillReq - 1) / 100)
if skillGain < minimumSkillRep then return minimumSkillRep end
if Config.Debug then print('Skill gain:', skillGain) end
return skillGain
end
and why skillReq?
what is skillReq
craftingSkill is what is sent in to that function as skillReq.
If you dont like how the repgain works then you need to change that function. It's very simple math. For every 100 it adds +1 rep extra
💪
Hello, anyone knows why im getting "No user selected" on racing app?
Probably that you didn't select a user. If you need further help open a ticked 👉 #1176825221785849977
I did it
Bro just love your HUD its so clean and simple
Yeah I'll get it onto git someday when I got time 😅
When I got time
please make it fast
btw i use some free book script and i make this type of blueprint for your Crafting
i mean in my server
man its so fun
would CW Tuning still work with another inventory? like ps-inventory?
No. It's way to much of a rewrite since other inventories lack a lot of. the used functionality with metadata.
I'm sure ite CAN be done tho. It's just a hassle.
Oki thank you
Hello
Ayyoooo
@ashen raft the link to td discord is expired
I use MZ- Skills but would be willing to test your script out
Love a cw-rep script
Definitely would be interested in the cw-rep
I'm interested in testing CW-Rep
I'm using mz-skills but what difference could it be in cw-rep?
It has some extra features like notifications on skill/rep levels, database storage optimizations and server side exports
It's built to basically 1:1 replace mz-skills without much issue tho
Im very interested
that'd be great, I'm interested to test it out 👍
If it will be paid I would buy it instantly
currently it SHOULD only require users to reformat their Config and change the export name.
It'll be free
Daaaaaaaaaaamn
It's basically a very modified version of mz-skills, so I wouldn't sell it
The mentioned addition to Compilation is something completely else 👀
Mz skills had to be removed from our server it had the heaviest network traffic
With 100+ players constantly it was literally killing us
Hopefully youve changed how it works or added a bridge to communicate to db
Sounds like an implementation issue tbh. So yeah if you're constantly changing skills for players you'll have the same issue here 
We worked with guille from project sloth to try and fix it. It was the way the script constantly updated the db after gaining exp towards skills
All we did was use exports
Be careful with it is all im saying
yeah but if you use exports in a lot of places and to often then you're kinda causing the issue not the script is what I mean
Although I could see the whole gta:o skill thing causing issues
but that's removed
Ahhh thats the important bits hah the stamina and stuff players veen complaining since its removal ive been trying to find a lightweight solution.
I was thinking of dumping the data into a json while live and then dumping it into the db at timed intervals
Or maybe even on resource start
I use all the MZ-Drugs and heists, will this be a replacement for the entire system that is integrated with MZ-Skills?
Gotcha; I don’t use the GTA:O online stuff like driving, stamina or anything
it will (for now) require some modifications in scripts using mz-skills, however, I plan to add a way to skip that sometime after release
I've been using src-skills is a rework of mz-skills I think, the server I'm working on at the moment isn't fully up so I don't think I'm a good use-case for testing 😦
Hey, I'm interested in skills script and need for some of the heists to be added
I can use cw-gearbox without cw-tuning ??
Yes. But it requires alot more work on your part. See readme for cw gearbox.
"heists to be added"? To what? It's a skill/rep system so you'll need to be adding this script everywhere you want it.
Yeah, I have plans about my robberies and crime system so they will need rep/xp system so gather like they love to farm a lot it will be something different, because I have a vangelico with 3 different MLO's and robberies for each one, so I want to separate them with different rewards
Alright. I'll add you to the beta channel 
okay, thanks
Hello, i win giveaway from TD mapping discord, i’am not found to open ticket
I'll dm you
Thanks
Id be interested in testing cw-rep script





