Skip to content

fix(es_extended/server/functions): Core.IsPlayerAdmin returning false#1548

Merged
Mycroft-Studios merged 1 commit into
mainfrom
unknown repository
Dec 15, 2024
Merged

fix(es_extended/server/functions): Core.IsPlayerAdmin returning false#1548
Mycroft-Studios merged 1 commit into
mainfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Dec 15, 2024

Copy link
Copy Markdown

For some strange reason, the original code local xPlayer = ESX.Players[playerId] always returned null. However, when changed to local xPlayer = ESX.Players[tonumber(playerId)], it correctly returned the data. Not sure if this is an issue just for me.

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

Labels

None yet

Projects

Status: Ready for Next Update

Development

Successfully merging this pull request may close these issues.

1 participant