Maris Posted April 29, 2015 Share Posted April 29, 2015 AllPlayers[1].??? Link to comment https://forums.kleientertainment.com/forums/topic/53335-how-to-check-if-player-is-admin/ Share on other sites More sharing options...
DarkXero Posted April 29, 2015 Share Posted April 29, 2015 local function isPlayerAdmin(player) for k, v in pairs(TheNet:GetClientTable()) do if v.userid == player.userid then return v.admin end endendIt seems only ID and name get attached to the player entity. Link to comment https://forums.kleientertainment.com/forums/topic/53335-how-to-check-if-player-is-admin/#findComment-633108 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now