Setting NPC Cvars?

I’m trying to change the NPC settings on my server and everything i’ve tried doesnt work.

I’ve tried adding to my server.cfg:


sk_barnacle_health 1000

I’ve tried adding directly to my swep:


RunConsoleCommand("sk_barnacle_health", "1000")

I’ve even tried creating a new lua file in lua/autorun and lua/autorun/server :


RunConsoleCommand("sk_barnacle_health", "1000")

I’ve even tried adding the code below RunConsoleCommand(“mp_friendlyfire”, “1”) in init.lua (gamemode is TTT):


RunConsoleCommand("sk_barnacle_health", "1000")

EDIT: Oddly, the cvar managed to work 6 hours ago. But then it stopped working completely.

Anyone know how i can get the cvar to work?