New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add GetEntityFromStateBagName helper #1736
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some stylistic remarks, in part for consistency with code elsewhere, in part because this'd handle invalid input a bit weirdly, and some doc suggestions.
(If need be I can check on this myself later, perhaps)
code/components/citizen-server-impl/src/state/ServerGameState_Scripting.cpp
Outdated
Show resolved
Hide resolved
code/components/citizen-server-impl/src/state/ServerGameState_Scripting.cpp
Outdated
Show resolved
Hide resolved
code/components/citizen-server-impl/src/state/ServerGameState_Scripting.cpp
Outdated
Show resolved
Hide resolved
It might also be worth having a |
Perhaps, but that's out of scope here. |
bf1f65a
to
0b9ba3a
Compare
Add a helper function as discussed on the forums.