HUD
Functions

Vehicle: damage Full Admin

Created for showcasing reasons. Damages each part one by one with fancy effects. Do not use this for storing/resetting data.

Used in: VCMod Main addon.

Server Entity Vehicle:VC_damageFull_Admin()

Example

concommand.Add("vehicle_damage_vehicle_fully_admin", function(ply)
	local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
	if IsValid(ent) and IsValid(ply) and ply:IsAdmin() then
		ent:VC_damageFull_Admin()
		print("Have fun fixing it.")
	else
		print("Invalid entity.")
	end
end)
Page modified:
...2018-11-02 09:24:37