[Release] Hacking_PC (Scaleform)

I had this little project lying around that I messed with before, had to get back to it and get it working for a friend. I thought this resource could be useful for others who want to get down dirty with scaleforms and spice up their game a little bit. This does work out of the box, but its up to you to get it working the way you want it to. I can’t take full credits for this either since I originally found some of this code lying on a github project and I believe some of the scaleform code where made by @logan-mcgee. He has some other scaleform examples lying around on his github too, so I recommend that you check that out aswell to become familiar with scaleforms.

6eY8TkgNVP
hacking_pc.zip (3.0 KB)

Edit: Added a Github.

20 Likes

Mind putting it on github too?

2 Likes

I provided a download link in the description. I did not feel the need for it to be put on github for the fact that there shouldn’t really be any enhancements added, since you basically adapt the resource for your own needs. Also I can’t access my github at this point. You are free to upload it yourself.

1 Like

This is some cool shit my dude, good release

1 Like

will try for sure… love everything hacker related!

1 Like

Thanks for this! Nice to see some more work on scaleforms.

1 Like

can you explain what this is exactly? all i see in the GIF or video up top is your standing there and then suddenly the hacking starts??? im confused…

It is a scaleform, maybe give it a try for yourself to see what it does.

fair enough. ill leave it to you boys.

How would I go about triggering this? For now im just trying to type /testhack to get it to trigger the scale form.

Have you rewritten the code to a function which you trigger with a registered command named testhack? Or did you assume I already had but It’s not working? Enough with the confusion, I will just answer your first question and completely ignore the second sentence.

You could rewrite the code into a function which you can trigger with a command, or put the function inside a loop where you check for a keypress. You can also add an event handler and trigger a client event. It’s up to you really.

Im a tad bit new to coding, I know howw to make the registercommand part but how would I actually make it trigger the hacking computer?

RegisterCommand('Less', function(source, args, user)
    local name = GetPlayerName(source)
    TriggerClientEvent('Less', -1, source, name)
end)

I suggest actually doing some research before asking for help.

I’m doing this since you’re new to coding, but constantly asking for help without doing research will not get you anywhere.

Use the FiveM documentation, otherwise people won’t help you.

Simply replace my code with your code :slight_smile:

I already know how to do that. I was asking how to actually trigger the scaleform

how to trigger it so that if you start somebody then don’t throw it at anyone else.