[API/dev resource] screenshot-basic - make screenshots of clients' games!

Looks like you’re not using the latest version of cfx-server-data.

1 Like

I thought I was. Ill try that now. Thanks dude

Naa same thing, The webpack and yarn wont even start neither so thats probably why. i cant figure it out at the moment. Ill keep on it. ty again

I use EasyAdmin and when I put screenshot-basic into resources folder…

Permit Yarn on window on folder webpack for permit just right click on folder webpeck or files and security and add profiles users of system of acces to everyone

Not sure what’s up TBH

Couldn't start resource screenshot-basic.
Building resource webpack failed.
Error data: yarn failed!

Keep getting this ^ everytime, any help?

Everything is fine. But I’m getting blackscreen always. I tried at fullscreen, border, borderless screen but always got blackscreen. Anyone have a idea?

Same here in last linux build:

Creating script environments for yarn
Started resource yarn
Running build tasks on resource webpack - it’ll restart once completed.
Could not start dependency webpack for resource screenshot-basic.
e[93mCouldn’t start resource screenshot-basic.e[0m
musl libc (x86_64)
Version 1.1.22
Dynamic Program Loader
Usage: /home/tests/server/alpine/opt/cfx-server/ld-musl-x86_64.so.1 [options] [–] pathname [args]
Creating script environments for mysql-async

1 Like

Having issues with it, webpack starts properly but once it loads and i try to load screenshot-basic the console starts to spam this

Dynamic Program Loader
Usage: /home/tests/server/alpine/opt/cfx-server/ld-musl-x86_64.so.1 [options] [–] p$musl libc (x86_64)
Version 1.1.21

Linux machine with latest nodejs version installed, also installed all dependencies with yarn

How to fix this problem ?

Trace

Error: EPERM: operation not permitted, unlink 'C:\Users\xxxx\AppData\Local\Yarn\Cache\v4\npm-@citizenfx-three-0.100.0-ac605a1f86863e25e5b3c50d9ae80a2ef2a2e361\node_modules\@citizenfx\three\.yarn-tarball.tgz'

Guys i keep getting black screen. how do i fix it ?

I tried all day and same please help.

same problem. i use for gcphone and keep getting black screen

IIRC, that’s caused by being in fullscreen and/or focus isn’t on FiveM.

1 Like

can you tell me how to fix

Does it works on Linux ? I got erros for webpack-yarn… Does anyone know how to ?

Yup , does not work. Can’t find a fix.

I can’t help, i gave up on this mess.

i have this error how can i solve this

1 Like