Called when a player spawns a vehicle using the car dealer.
Used in: VCMod Main addon.
Server GM:VC_CD_spawnedVehicle(Entity ply, Entity ent, Boolean test)
1. Entity ply; Player
Player who used the car dealer to spawn this vehicle.
2. Entity ent; Vehicle
The unlucky vehicle.
3. Boolean test; Test drive
If the vehicle is spawned due to test drive.
hook.Add("VC_CD_spawnedVehicle", "CustomHookName", function(ply, ent, test) print(ply:Nick().." has spawned a vehicle entity: "..ent:VC_getName()..".") end)