Skip to content

tweak(native-decls): improve various natives documentation#3788

Open
ook3D wants to merge 1 commit intocitizenfx:masterfrom
ook3D:docs
Open

tweak(native-decls): improve various natives documentation#3788
ook3D wants to merge 1 commit intocitizenfx:masterfrom
ook3D:docs

Conversation

@ook3D
Copy link
Contributor

@ook3D ook3D commented Jan 18, 2026

Goal of this PR

add lua examples for text entry natives
...

How is this PR achieving the goal

Updating docs
...

This PR applies to the following area(s)

FiveM
...

Successfully tested on

Game builds: ..

Platforms: Windows, Linux

Checklist

  • Code compiles and has been tested successfully.
  • Code explains itself well and/or is documented.
  • My commit message explains what the changes do and what they are for.
  • No extra compilation warnings are added by these changes.

Fixes issues

@github-actions github-actions bot added the invalid Requires changes before it's considered valid and can be (re)triaged label Jan 18, 2026
Comment on lines +18 to +23
local key_names = {
[0x9806FA48] = "Text Key 1",
[0x65C895CC] = "Text Key 2",
[0x1CA48385] = "Text Key 3",
[0x8A6E5F17] = "Text Key 4",
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make more sense to do `TEXT_KEY_1` or GetHashKey("TEXT_KEY_1")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm good idea, ill add that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid Requires changes before it's considered valid and can be (re)triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants