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

Cannot use "Say" Command on Dedicated Server - Lua Error

Hazbelll opened this issue · comments

When attempting to use the say command through Console on a Dedicated Server, it will fail on submission (and not be shown to any players - only echo back in Console) as Cinema is trying to check which theater they're in to filter the message out to others. Of course, Console is not a Player, so returns nil.

say Hello

[Cinema] gamemodes/cinema/gamemode/player.lua:188: attempt to call method 'GetTh
eater' (a nil value)
  1. unknown - gamemodes/cinema/gamemode/player.lua:188

Console: Hello

I am using the Workshop version of Cinema.