How do you disable collision between an object and a player

well, I want to disable collision between an object, and a player, but collide with other objects and players.
I tried setowner, but that screws with the physics and nocollide doesn’t work on players

Look up GM:ShouldCollide( ent1, ent2 ) on the wiki

Should Collide