Does anyone have any ideas on how to make something like this in LUA? I tried decompiling FrFuel but I don’t know Java so if anyone can help please do. I’m trying to implement this into multiple other scripts.
Good thing FiveM doesn’t support Java so you shouldn’t have any issues.
It’s so easy
you can do this with your language .lua
see more on: Controls - Cfx.re Docs
ShowPedHelpDialog(_U('show_me'))
Locales[en'] = {
['show_me'] = 'Press ~INPUT_DIVE~ or Press ~INPUT_PICKUP~ or ~INPUT_DETONATE~ or ~INPUT_DROP_WEAPON~' ,
}
voilà
Try this: Instructional Buttons
Good thing it’s open source: GitHub - thers/FRFuel: Basic fuel system for FiveM
Why do people always feel the need to decompile open-source resources?
What?
That’s not even an existing function? Neither ‘ShowPedHelpDialog’ or ‘_U’ exist at all, posting a snippet using some random functions without posting those functions isn’t helping anyone.
Nor would a ‘help dialog’ be this instructional buttons stuff, so your answer isn’t even related to this topic.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.