HUD
Functions

GM: CD player Sold Vehicle

Called after a player has sold a vehicle using VCMod car dealer.

Used in: VCMod Main addon.

Server GM:VC_CD_playerSoldVehicle(Entity ply, String ID, Integer price, Entity NPC)

Arguments

1. Entity ply; Player
Player who used the Car Dealer to sell this vehicle.

2. String ID; Vehicle ID
VCMod car dealer vehicle ID.

3. Integer price; Transaction price
Vehicle has been sold for this amount.

4. Entity NPC; VCMod Car Dealer
The NPC which handelled the transaction.

Example

hook.Add("VC_CD_playerSoldVehicle", "CustomHookName", function(ply, ID, price, NPC)

	print(ply:Nick().." has sold a vehicle for "..price..".")
end)
Page modified:
...2019-02-14 08:19:16