API GetShipAmmoPrices

From Vendetta Lua
Jump to: navigation, search

GetShipAmmoPrices

Definition: GetShipAmmoPrices(int ship) -> table prices
Description:
get cost of ship ammo
Arguments:
ship itemid of a ship
Returns:
prices weapon itemid ammo price pairs
prices.allammoprice cost of reloading all weapons
prices.allammoquantity amoutn of ammo to reload