Exports
Integrate Electus Hacking to your scripts
Client Exports
Run Hack
Run a hacking minigame.
exports["electus_hacking"]:RunHack(hack, difficulty, diskConsumption, ignoreDiskOverload, function(success)
print(success)
end)
Prop | Description | Type |
---|---|---|
hack | The hack to run. | "binaryPuzzle" or "fallout" |
difficulty | The difficulty level (1-5). | number |
diskConsumption | The amount of disk space to consume. Max 100 | number |
ignoreDiskOverload | Whether to ignore disk overload. | boolean |
success | Callback function that receives the result of the hack. | function(success) end |