Hooks/Server/getVehicleCost

From DarkRP
Jump to navigation Jump to 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[edit]

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

  3. ent (Entity)
  4. The vehicle

Return values[edit]

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