zombiesurvival-evolved/gamemodes/zombiesurvival/entities/entities/logic_difficulty/init.lua

11 lines
316 B
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
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