So I have the following code implemented into my server. lua/autorun/server/example.lua
if a:IsPlayer() and b:IsPlayer() then
hook.Add(“PlayerInitialSpawn”,“NoCollide Players”, function(ply)
Basically what I’m trying to accomplish here is to disable player to player collisions. Simple enough right?
The script above works as intended, but with a few side effects.
- m9k bullets do no damage, and completely pass through players. ( no errors in console )
- impossible to target players with physgun. ( Cannot pick up people, no errors in console )
If anyone knows a fix for this, I hope you’ll share your knolage! Thank you for your time & consideration. Have a wonderful day!