pixeltailgames / cinema

:movie_camera: Gamemode for Garry's Mod featuring multiplayer video streaming
http://www.pixeltailgames.com/cinema/
87 stars 63 forks source link

VIP Implementation not working #146

Closed Schniitzelchen closed 6 years ago

Schniitzelchen commented 6 years ago

Hello,

I am using ulx and was wondering how to get the VIP Theaters only Accessable for VIPS and higher.

I found this snipped on cinema/cinema/gamemode/modules/theater/sv_hooks.lua `if Theater:IsPrivileged() and !ply:IsVIP() then

    -- Respawn the player
    ply:Spawn()

    -- Prevent the player from being added to the theater
    -- and being sent videos, etc.
    return false

end`

But it seems it is not working. Every Player can enter VIP Area