[DarkRP] Nocollide + TDMcars (HELP)

So I recently discovered that people can noclide their car, no matter what rank they are. Now I don’t want this so I began to search online, I found a fix but when I tried it it didn’t work (http://forum.facepunch.com/showthread.php?t=1291643) <— That’s the link to thread it says to add


if (property == "collision" and ent:IsVehicle()) then
return false
end

to


 GM:CanProperty

function I did this (https://gyazo.com/f989259bf1d8010c4070fee677606246) Did I put it in wrong, is it not working anymore?

Thanks for all the help!



function GM:CanProperty(ply, property, ent)
if (property == "collision" and ent:IsVehicle()) then
return false
end
end


Thanks!