Server GM:VC_RM_canUse(Entity NPC, Entity ply)
1. Entity NPC; Repair Man
The repair man NPC.
2. Entity ply; Player
Player who is attempting to use it.
1. Boolean If it should allow player use it or not.
hook.Add("VC_RM_canUse", "VC_KeepFreeAwayFromRepairMen", function(NPC, ply) local name = ply:Nick() if name == "freemmaann" then print("freemmaann has just attempted to use a repair man, not allowing it.") local can = false return can end end)