Skip to content

Add getPlayers JS documentation - #600

Merged
AvarianKnight merged 2 commits into
citizenfx:masterfrom
sw4m:patch-2
Aug 1, 2026
Merged

Add getPlayers JS documentation#600
AvarianKnight merged 2 commits into
citizenfx:masterfrom
sw4m:patch-2

Conversation

@sw4m

@sw4m sw4m commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Added documentation to the obscure JS equivalent of Lua's GetPlayers.

Signed-off-by: sw4m <56038988+sw4m@users.noreply.github.com>
@AvarianKnight

Copy link
Copy Markdown
Collaborator

A warning should probably be put here that this returns a string representation of the source, not an integer representation.

Signed-off-by: sw4m <56038988+sw4m@users.noreply.github.com>
@sw4m

sw4m commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Good idea, I have specified that they are returned as strings

@sw4m

sw4m commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

@AvarianKnight good to go?

@AvarianKnight

Copy link
Copy Markdown
Collaborator

LGTM. Thanks for your contribution 😄

@AvarianKnight
AvarianKnight merged commit 259fd8b into citizenfx:master Aug 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants