Skip to content

WhishN/altv_NativeHackingGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Features

  • Create your own native hacking game from original GTA
  • Customizable Lives, and rotation speed to adjust difficulty

How to use:

Download the class and put it into your existing client resource Import the file in your client code.

Start the game:

/** 
 * Trigger a new hacking Game if none is runnning
 * @param {string} word 8 Char string that will be the Solution 
 * @param {number} lives [OPTIONAL] Number of lives. Default 3 
 * @param {number} minSpeed [OPTIONAL] minimum Rotation Speed of column - Default 10
 * @param {number} maxSpeed [OPTIONAL] maximum Rotation Speed of column. Default 100
 * @returns {boolean} false if game is already running
 */
 alt.emit("HackingGame:Start", word, lives, minSpeed, maxSpeed);

Get the game result:

Once done the game will send a reply emit to your code that you can get with:

alt.on("HackingGame:Result", (result) => {
	/*	Result is a boolean
	 * 	true: Player finished the Hack
	 * 	false: Player failed the Hack
	 */
});

Original Source:

Repo: GTA Chaos Mod Author: DrUnderscore

Preview

About

The GTA V Hacking Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published