HUD
Functions

GM: can Repair Wrench Admin

Called right before an admin attempts to use his super fancy vehicle repairing admin powers.

Used in: VCMod Main addon.

Server GM:VC_canRepairWrenchAdmin(Entity ent, Entity ply)

Arguments

1. Entity ent; Vehicle
That one broken car.

2. Entity ply; Player
The player who is attempting to use it. This variable is optional

Returns

1. Boolean If it should allow it or not.

Example

hook.Add("VC_canRepairWrenchAdmin", "VC_canRepairWrenchAdmin", function(ent)
	print("Admin abuse? Not on my watch!")
	return false
end)
Page modified:
...2018-11-02 09:24:35