• How to make players collide
    4 replies, posted
Hi, is there any way to make players on a server collide with each other, so that they can not walk through each other?
Players already do this in garry's mod, unless you mean while they're noclipped?
No, players are able to walk through each other on my server. Unknown server specs. Addons: SVN: PHX DarkRP PC Mod 2 Downloaded: assmod durgzmod
Might have something to do with Assmod but I'm not sure. Is there a "Player Collide" option?
one of your addons is causing this but here is the code anyway place it in lua/autorun/yourname.lua [lua] function NoCollidePeople(ply, cmd, args) if ply:IsSuperAdmin() then for _, ply in pairs( player.GetAll() ) do ply:SetNoCollideWithTeammates( true ) end end end function NoCollidePeople(ply, cmd, args) if ply:IsSuperAdmin() then for _, ply in pairs( player.GetAll() ) do ply:SetNoCollideWithTeammates( false ) end end end concommand.Add("sv_playerclip",NoCollidePeople) concommand.Add("sv_playernoclip",CollidePeople) [/lua]
Sorry, you need to Log In to post a reply to this thread.