]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/t_items.qh
Added GivePlayerFuel.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / t_items.qh
index 331d3ac8c3edf342571aae9204e14cc7b5ed932c..777258939e2969f99576490dce76c62e45934be8 100644 (file)
@@ -105,6 +105,12 @@ void GivePlayerArmor(entity player, float amount);
 /// \return No return.
 void GivePlayerAmmo(entity player, .float ammotype, float amount);
 
+/// \brief Gives fuel to the player.
+/// \param[in,out] player Player to give fuel to.
+/// \param[in] amount Amount of fuel to give.
+/// \return No return.
+void GivePlayerFuel(entity player, float amount);
+
 float ITEM_MODE_NONE = 0;
 float ITEM_MODE_HEALTH = 1;
 float ITEM_MODE_ARMOR = 2;