Called when a trailer was succesffuly detached from a vehicle.
Used in: VCMod Main addon.
Server GM:VC_trailerDetached(Entity ent, Entity tailer)
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.
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)