modding:function:shpconsumefuel
Discuss this page on this pages TalkPage
shpConsumeFuel
Syntax | (shpConsumeFuel ship number) |
---|---|
Arguments | ship: The ship that you want to remove fuel from. |
number: How much fuel you want to remove. | |
Returns | number: Fuel remaining. |
Category | ship |
Description | Removes the given amount of fuel from the ship. |
Example
(shpConsumeFuel gplayership 0)
Returns how much fuel the player has left. Return to Functions list
modding/function/shpconsumefuel.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1