mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
25
gamemodes/ixhl2rp/plugins/headcrabs/sh_hooks.lua
Normal file
25
gamemodes/ixhl2rp/plugins/headcrabs/sh_hooks.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
--[[
|
||||
| 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
|
||||
|
||||
function PLUGIN:AdjustStaminaOffset(client, offset)
|
||||
if (offset > 0 and client:Team() == FACTION_HEADCRAB and client:GetCharacter():GetClass() == CLASS_FASTHEADCRAB
|
||||
and client:GetCharacter():GetClass() == CLASS_POISONHEADCRAB) then
|
||||
return offset * 2
|
||||
end
|
||||
end
|
||||
|
||||
function PLUGIN:InitializedPlugins()
|
||||
if (ix.plugin.list.inventoryslosts and FACTION_HEADCRAB) then
|
||||
ix.plugin.list.inventoryslots.noEquipFactions[FACTION_HEADCRAB] = true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user