pixeltailgames / cinema

:movie_camera: Gamemode for Garry's Mod featuring multiplayer video streaming

Home Page:http://www.pixeltailgames.com/cinema/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VIP Implementation not working

Schniitzelchen opened this issue · comments

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