We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to retrieve the user id of a player inside EntityRemoved clientside returns -1, but it works fine on serverisde.
hook.Add("EntityRemoved", "UserID", function(ent, full_update) if full_update then return end if type(ent) ~= "Player" then return end print(ent:IsValid(), ent:UserID(), ent:EntIndex()) -- outputs: true -1 2 end)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Details
Trying to retrieve the user id of a player inside EntityRemoved clientside returns -1, but it works fine on serverisde.
Steps to reproduce
The text was updated successfully, but these errors were encountered: