HUD
Functions

Vehicle: CD return Vehicle

Return a vehicle to car dealer, assuming player, NPC and the car entities are valid.

Used in: VCMod Main addon.

Server Entity Vehicle:VC_CD_returnVehicle(Boolean force)

Arguments

1. Boolean force; Force
If forced all pricing and distance checks will be ignored.

Example

hook.Add("VC_EngineExploded", "CustomHookName", function(ent, silent)
	print("Vehicle "..ent:VC_getName().." has exploded, returning to car dealer.")
	ent:VC_CD_returnVehicle(true)
end)
Page modified:
...2018-11-02 09:24:36