Hooks/Server/getVehicleCost

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name getVehicleCost(Player ply, Entity ent)
Description:
Get the cost of a vehicle.
Returns: number cost
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/getVehicleCost]getVehicleCost hook[/url][/b]

Parameters

  1. ply (Player)
  2. The player who has the intention to purchase the vehicle.

  3. ent (Entity)
  4. The vehicle

Return values

  1. cost (number)
  2. The price of the vehicle.