Skip to content

Conversation

@Xenius97
Copy link
Contributor

@Xenius97 Xenius97 commented Nov 28, 2025

Closes #2400

This PR adds isElementSyncer for serverside too (now this function is shared) and adds new getElementsSyncedByPlayer which returns element table synced by player.

Client side:

table getElementsSyncedByPlayer([ filter = "ped,vehicle" ])

Server side:

table getElementsSyncedByPlayer(player, [ filter = "ped,vehicle" ])
bool isElementSyncer(player, element)

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.

Add getPlayerSyncerElements

1 participant