Files
wnsrc/gamemodes/darkrp/plugins/headcrabs/classes/sh_headcrab.lua
lifestorm df294d03aa Upload
2024-08-04 23:54:45 +03:00

26 lines
598 B
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local PLUGIN = PLUGIN
CLASS.name = "Headcrab"
CLASS.faction = FACTION_HEADCRAB
CLASS.isDefault = true
function CLASS:OnSet(client)
client:SetWalkSpeed(ix.config.Get("walkSpeed") * 0.5)
client:SetRunSpeed(ix.config.Get("walkSpeed"))
client:SetModel("models/headcrabclassic.mdl")
client:SetBodygroup(0, 1)
end
CLASS_HEADCRAB = CLASS.index