NoPixel-minigame icon indicating copy to clipboard operation
NoPixel-minigame copied to clipboard

[Puzzle/FiveM] Adjust time and amount

Open Tabby-Labs opened this issue 3 years ago • 10 comments

how to adjust the puzzle time and puzzle amount in fivem?? image

this is my exports image

Tabby-Labs avatar Oct 05 '21 03:10 Tabby-Labs

Not currently a feature, I'll look into adding it hopefully later this weekend :)

RealDebugg avatar Oct 05 '21 19:10 RealDebugg

You can change out the variables in puzzle-handler.js:

let PuzzleTime = 7
let PuzzleAmount = 4

With global var variables defined when you start the puzzle at the bottom of script.js from the FiveM event.

Jesper-Hustad avatar Oct 05 '21 22:10 Jesper-Hustad

Awesome, thanks!

On Wed, 6 Oct 2021 at 06:18, Jesper Hustad @.***> wrote:

You can change out the variables in puzzle-handler.js:

let PuzzleTime = 7let PuzzleAmount = 4

With global var variables defined when you start the puzzle at the bottom of script.js from the FiveM event.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jesper-Hustad/NoPixel-minigame/issues/35#issuecomment-934933305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGGTA7KH3GSJVWLBGDPB3DUFN2THANCNFSM5FKYJZLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Tabby-Labs avatar Oct 06 '21 05:10 Tabby-Labs

How do we change the time in game. 7 seconds is way too fast. i changed it but it didnt work

daytonbetts avatar Feb 26 '22 19:02 daytonbetts

How do we change the time in game. 7 seconds is way too fast. i changed it but it didnt work

Look at answer above by me

Jesper-Hustad avatar Feb 26 '22 19:02 Jesper-Hustad

How do we change the time in game. 7 seconds is way too fast. i changed it but it didnt work

Look at answer above by me

I did that where it says time but its not working in game for some reason. i changed the 7 too 20

daytonbetts avatar Feb 26 '22 19:02 daytonbetts

i would put a picture in here if it would let me

daytonbetts avatar Feb 26 '22 19:02 daytonbetts

I'm currently spending some time in RedM but I really wanna integrate this ASAP once I've got time to sit down with this. Its not a feature in the LUA code but can be done by modifying the JS at this time.

RealDebugg avatar Feb 26 '22 19:02 RealDebugg

const timeRange = 30 const puzzleRange = 4

daytonbetts avatar Feb 26 '22 19:02 daytonbetts

I bought a script from a guy that uses the hacking but he wont help.

daytonbetts avatar Feb 26 '22 19:02 daytonbetts