Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Puzzle/FiveM] Adjust time and amount #35

Open
Tabby-Labs opened this issue Oct 5, 2021 · 10 comments
Open

[Puzzle/FiveM] Adjust time and amount #35

Tabby-Labs opened this issue Oct 5, 2021 · 10 comments
Labels
FiveM Relates to FiveM mod version

Comments

@Tabby-Labs
Copy link

Tabby-Labs commented Oct 5, 2021

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

this is my exports
image

@Tabby-Labs Tabby-Labs added the FiveM Relates to FiveM mod version label Oct 5, 2021
@RealDebugg
Copy link
Collaborator

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

@Jesper-Hustad
Copy link
Owner

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.

@Tabby-Labs
Copy link
Author

Tabby-Labs commented Oct 6, 2021 via email

@daytonbetts
Copy link

daytonbetts commented Feb 26, 2022

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

@Jesper-Hustad
Copy link
Owner

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

@daytonbetts
Copy link

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
Copy link

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

@RealDebugg
Copy link
Collaborator

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.

@daytonbetts
Copy link

const timeRange = 30
const puzzleRange = 4

@daytonbetts
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FiveM Relates to FiveM mod version
Projects
None yet
Development

No branches or pull requests

4 participants