zombiesurvival-evolved/gamemodes/zombiesurvival/entities/entities/point_servercommand.lua
2014-10-01 20:49:54 -04:00

14 lines
324 B
Lua

-- This is for Zombie Escape so messages can be printed.
ENT.Type = "point"
function ENT:AcceptInput(name, caller, activator, arg)
name = string.lower(name)
if name == "command" then
if string.sub(string.lower(arg), 1, 4) == "say " then
PrintMessage(HUD_PRINTTALK, string.sub(arg, 5))
end
return true
end
end