#Ox_lib Redesign [Showcase] [Release]
1 messages · Page 2 of 1
Dont give me that.... I shall decimate thy.
@void quarry make a PR for the fix then
nah to lazy
beautiful, ty for this!!
Is anyone else’s skill check kinda laggy?
Yea it is a lil bit ngl lol.... more choppy i would say
reduce the amount of particles
it's already low asf and doesn't lag on mid tier pcs or higher but if ur on a toaster then yeah just reduce the amt of particles
ox_lib/web/src/features/skillcheck/index.tsx
i have a 4060 and ryzen 9 lmao
i will try decrease. Its not hella choppy, just enough to feel it. I know i be hitting some skill checks, but it fails.
I was gonna say I’m using a 2070super and a Ryzen 7, I don’t feel it everytime just every now and then. It was mostly someone in my discord that was saying it’s been laggin for them so thought I’d ask here. Appreciate the response though. I’ll take a look at lowering particles even more
@latent inlet most notifications and lib loading thingies have been like kinda blurry/pixelated, is there any way to fix
the blur on progress is intended, its like a fade in
Bruiser is correct. As far as the notifications, I couldn’t tell you
It’s not like that for me
Or anyone else
is anyone else having this issue?
this is your issue
oh, i thought it was already build. How do I build it?
some above in this thread tell you how
got it, thank you!
Go into ox_lib/web and make sure there isnt already a build folder in there.
make sure you have node.js downloaded before this
then type cmd in the path bar up top. And when it opens the command prompt. Use these commands (npm i then after do npm run build)
#1367097519066316871 message do we neeed to do this
probably not a bad idea
just do that tho
replace the lines in those 2 files with the new ones in that commit
if i have time to do it ill try to
or some1 can do it and pr it and ill merge it
maybe @dusty lava <3
build errors?
and dark mode not possible via /ox_lib?
scroll up for the fix
okay quick question after i built it do i have to put the whole folder into the server?
yes delete ur old ox lib and put the new one in
after building it
okay its working fine but i have a nother question the font is kinda blurry, any suggestions?
the menu looks clean but the text ui is looking blurry
i also have the same problem so if u know anything pls hepl us 🙏
Sure 🔥
@latent inlet
i am trying to figure it out since yesterday but no solution so far
how did you mange to disable the blur?
@latent inlet Sir, sorry to ping you for this, but we could really need your help. Dont want to bother, just need some help with that. your ressource ist great!
well sadly cant use it...the blur is more intense than everything. hopefully it get fixxed :/
go mess around with ox_lib\web\src\features\textui\TextUI.tsx
it's probably the text shadow or something
is there a way to set these to be default for all users? some players seem to have the light mode, while i want dark mode to be always applied.
nvm, i'm blind
- Use the setr ox:darkMode convar to enable/disable dark mode by default (1 for dark mode, 0 for light)
does any1 know how to change like the colours?
G how do we fuck around with the colours I built it and it was like white and clear I want your red etc
in ox.cfg
even once i built it all and that?
Set ox_lib colors
setr ox:primaryColor blue
setr ox:primaryShade 8
ive got that but doesnt work
yup
It doesnt work bro
@dusty lava
Do yk how to change the modes
it aint working for me
i cant get dark mode
It will save the first time so if you didn't have it how you wanted it when you started you have to manually change it
/ox_lib
yeah when i do /ox_lib it doesnt have the option to change colour
i want it to be dark mode for every1 no matter what
so how do i make it for every1 serrver wide
@dusty lava
Read the thread, its been asked and answered
Then you did it wrong
i built it and dragged and dropped
the web folder or the whole thing?
That’s not a command you run
It’s a convar you put you a config file
i sorted it thanks
i didnt drag n drop ur whole thing with the build lol
how do i make it like ur font??
g sorry to be a pain how do i increase inventory slots
Documentation for Community Ox's resources for FiveM/RedM
can u not just tell me?
iv tried in the ox.cfg
yeah, with the build
ox.cfg
i assume the reason he aint telling you. Is so you can learn, instead of being told everything. Which honestly, is respectable if so.
slots and weight capacity.... it only takes one search
Yeah ive tried bro. It doesnt work aye
Well that’s the only way possible to do it. There is no other way man.
Hi! I was testing this design, but I came up with some problem. It seems like the "center-left" and "center-right" positions are not positioning correctly. I have set everything in the config and also tried with a test notification with both positions and none is displaying correctly (they display as "bottom" position).
Testing it with other positions such as top-left, etc. works fine, it's just the center positions.
I'm using a clean qbox base (txAdmin recipe). If you need more information, lmk, but this should be enough so you can repro:
RegisterCommand('testnotification', function()
lib.notify({
title = 'Notification title',
description = 'Notification description',
type = 'success',
duration = 6000,
position = 'center-left'
})
end)
make sure you are looking at scripts. They have their own notifications on it. Ones that arent used in ox lib.
For instance, your ambulance script. May use ox_lib exports. But it isnt using the ox_lib its self. So you would need to go in there, and change it accordingly.
Same for all other scripts using ox lib notify.
This is just a client file that i made, it's not a "full" script at all. It's using ox lib notify
it's with the notifications, not textUI. I believe it's set center-left in the docs, but i'm not in my pc rn, so I can't check it...
@latent inlet
same shit
Hi! I just tried it with both (left-center and center-left) and it's not working... strangely i tried to use unedited ox_lib and the same command it works. I just built your fork and haven't touched anything @latent inlet (sorry for the trouble, and amazing work btw <3)
It’s an issue from an older version that was fixed I believe
I’m at work rn but I’m pretty sure that’s the issue
i downloaded the latest version from ur github, but maybe i did something wrong in my end
Do you have the latest css version? @latent inlet
its on the github?!
Hi @latent inlet , did you had time to check it out?
what are you trying to do?
Sorry I didn’t yet, I’m pretty sure it’s something with the toast package
when i run pnpm run build
did you run pnpm install?
Yep
Yes, this is new when you run pnpm build.
Ask ChatGPT you what to do
I’ve been doing the same thing for two days as well.
run npm install
npm i
npm run build
Well you do have to do some changes to the code actually. But it works afterwards
can't you guys send the build file bro
Just build it. Not hard.
why the radial menu doesn't open bro?
Everything is working fine. Build it correct and u have no Problems
i try again
in my server radial menu not open bro @latent inlet
done brooo thank you
does anyone have the built version i keep getting serveral errors in my vps
when im running npm i and npm run build
e