Need help with workshop version
AMD-NICK opened this issue · comments
_AMD_ commented
I don't want to use GitHub version on my server, but I want to give access for server staff to remove videos from the mediaplayer queue. How can I override MEDIAPLAYER:IsPlayerPrivileged(ply)
method in this case? Maybe u will add hooks or something?
Sam Maddock commented
Sorry, I don't follow Steam discussions as much as I should. I'll add a hook for it with the following usage:
hook.Add( "MediaPlayerIsPlayerPrivileged", "My custom permissions", function( mp, ply )
return ply:IsAdmin()
end )
Sam Maddock commented
Published 7e95bbc to workshop