HUD
Functions

GM: trailer Detached

Called when a trailer was succesffuly detached from a vehicle.

Used in: VCMod Main addon.

Server GM:VC_trailerDetached(Entity ent, Entity tailer)

Arguments

1. Entity ent; Truck
The entity that was used to attach stuff to.

2. Entity tailer; Trailer
The vehicle that was attached to the other vehicle, typically a trailer.

Example

hook.Add("VC_trailerDetached", "CustomHookName", function(ent, trailer)
	print("Looks like you have lost quite a few tons. That gym membership finally worked out for ya, ehh?")
	print("Detached trailer "..trailer:VC_getName().." from "..ent:VC_getName().." , nice job.")
end)
Page modified:
...2018-11-02 09:24:43