HUD
Functions

Vehicle: CD get Vehicle I D

Returns vehicles car dealer ID. It consists of model + name + skin.

Used in: VCMod Main addon.

Shared Entity Vehicle:VC_CD_getVehicleID()

Returns

1. String The vehicles car dealer ID.

Example

concommand.Add("vehicle_cd_get_id", function()
	local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
	if IsValid(ent) then
		print("Vehicles you are currently looking at car dealers ID is: '"..ent:VC_CD_getVehicleID().."'.")
	else
		print("Invalid entity.")
	end
end)
Page modified:
...2018-11-02 09:24:36