• Help With Server
    2 replies, posted
Alright well i'm admin on this server and i need to get people to stop being stuck. Is there a code that allows people to walk through another player. Cause that would be the answer to our problem
[lua]local function NoBlock(ent1,ent2) if ent1:IsPlayer() and ent2:IsPlayer() then return false end return true end hook.Add( "ShouldCollide", "NoBlock", NoBlock)[/lua] It needs to be shared.
Or you could try. [lua] function NoCollidePlayers(pl) pl:SetCollisionGroup(11) end hook.Add("PlayerSpawn","NoCollidePlayers",NoCollidePlayers) [/lua] Goes in server-side script, such as init.lua.
Sorry, you need to Log In to post a reply to this thread.