From Garry's Mod
Called when a player attempts to drive a prop via Prop Drive
|NOTE||This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.|
The player who attempted to use Prop Drive.
The entity the player is attempting to drive
Return true to allow driving, false to disallow
Stops nonadmins from using Prop Drive
function GM:CanDrive( ply, ent ) if !ply:IsAdmin() then return false end end