dustyroo

Untitled

Jun 6th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. hook.Add("CanProperty", "NoCarDriveMe", function(ply, property, ent) -- cant use no collide on cars
  2. if !ply:IsAdmin() and property == "collision" and ent:IsVehicle() then
  3. return false
  4. end
  5. end)
  6.  
  7. hook.Add("CanTool", "IDontThinkYouCanStopThis", function(ply, tr, tool) -- cant use no collide on cars
  8. if !ply:IsAdmin() and tool == "nocollide" and IsValid( tr.Entity ) and tr.Entity:IsVehicle() then
  9. return false
  10. end
  11. end)
  12.  
  13. hook.Add("OnPhysgunReload", "Abuse", function(wep, ply) -- cant use r
  14. if !ply:IsAdmin() then
  15. return false
  16. end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment