Skip to content

IvanGBoss/dio_codepuzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dio_codepuzzle

Code Puzzle Made for Fivem

A puzzle where you have to guess a code using the hints you get from your previous guess. This can be used for hacks in robberies and such.

This was my attempt at learning html and javascript within fivem. I am sure there are better ways to make the result that I made. Feel free to leave suggestions and tips.

How to use:

Embed this export into where you want to use the hack. You can customize how many chances you want to give the player to make it harder or easier. You can also customize the amount of numbers in the code. I set no limit so I am sure you can break it but adding too many number so have fun with it.

You can test the hack using /diopuzzle in game to play around with before putting it into your scripts as long as it is set to true in the config.

--First Argument is the number of guesses a player has to guess. Recommended 5 for easier and 4 for hard.
--Second Argument is the length of the code. Recommended 4. 
exports["dio_puzzle"]:guessCode(5, 4,
function() -- success
    print("success")
end,
function() -- failure
    print("failure")
end)

Preview:

image

dio_codepuzzle.mp4

About

Code Puzzle Made for Fivem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published