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

10 lines
316 B
Lua

ENT.Type = "point"
function ENT:AcceptInput(name, activator, caller, args)
name = string.lower(name)
if name == "setzombiedamagemultiplier" then
GAMEMODE.ZombieDamageMultiplier = tonumber(args) or 1
elseif name == "setzombiespeedmultiplier" then
GAMEMODE.ZombieSpeedMultiplier = tonumber(args) or 1
end
end