I’ve attempted doing the following but it doesn’t work:
function GM:PlayerSpawn(ply) disableSprint(ply) end
function disableSprint( ply ) if game.GetMap() == "irr_Mitch" then ply:SprintDisable() end end
I don’t suppose any of you know what the problem is?
It’s placed inside of “init.lua”.