Is it possible to make a stool where when you select an entity/prop/npc etc. it no collides with the player, it collides with everything else though. And an option to choose whether or not to ignore everyone else but you, or vice versa, or everyone.
if it helps, heres a small script to make players not collide with each other.
[code]
function PreventPlayerCollision(ply1, ply2)
if ply1:IsPlayer() and ply2:IsPlayer() then
return false
end
end
hook.Add("ShouldCollide", "prevent players collision", PreventPlayerCollision)
[/code]
un-tested, throw in servers autorun.
[QUOTE=comet1337;26463859]
[code]
functoin PreventPlayerCollision(ply1, ply2)
if ply1:IsPlayer() and ply2:IsPlayer() then
return false
end
end
hook.Add("ShouldCollide", "prevent players collision", PreventPlayerCollision)
[/code]
[/QUOTE]
just make sure to spell function right when you copy+paste it to a file.
Haha i didn't even see that, He might have dyslexia or something.
Sorry, you need to Log In to post a reply to this thread.