Skip to content
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

Set Group in Realtime + GetPlayerData function. #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

irhagram
Copy link

setting group in realtime updated, so maybe admin menu or validation can be used without relogging the game.

@irhagram irhagram changed the title Set Group in Realtime Set Group in Realtime + GetPlayerData function. Nov 26, 2023
@irhagram
Copy link
Author

irhagram commented Nov 26, 2023

im just added the getplayerdata function to the clientside.

can be filtered by the key of playerdata,
for example:
RPX.PlayerData('charinfo') -> to get inside table of charinfo

RPX.PlayerData() -> to get table of all playerdata

this function integrated by statebags, so can be called too with LocalPlayer.state.PlayerData or Player(source).state.PlayerData

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.

None yet

1 participant