mdsi_takeheat - Takes heat from the player's active heat and stores it in the item.
int mdsi_takeheat(int $heat)
- How much heat should be taken from the player and stored in the item.
This value must be positive.
Function can only take as much heat as the player currently have.
Returns how much heat was taken.
@va = mdsi_takeheat(100);
echo @va . ' heat was taken';
Community content is available under CC-BY-SA
unless otherwise noted.