-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hello, I have a question. When I try to take pictures, I get this error message. Has anyone else encountered this error and managed to fix it? If so, I would be grateful for any help.
[c-scripting-node] Filesystem write permission check from 'screencapture' for permission fs.write on resource 'D:\gta\server_fx\qb\resources\fivem-greenscreener\images\clothing\male_1_8.png' - write not allowed
[script:screencapture] Error: Error saving file to disk: Error: Access to this API has been restricted. Use --allow-fs-write to manage permissions.
[script:screencapture] at Object.openSync (node:fs:560:18)
[script:screencapture] at writeFileSync (node:fs:2451:35)
[script:screencapture] at saveFileToDisk (@screencapture/game/dist/server.js:31906:33)
[script:screencapture] at @screencapture/game/dist/server.js:31779:30
[script:screencapture] at processTicksAndRejections (node:internal/process/task_queues:105:5)
[script:screencapture] at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:69:3)
[script:screencapture] at @screencapture/citizen:/scripting/v8/timer.js:263:3
I've already tried using the start command --allow-fs-write but unfortunately that didn't work either.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels