/OxygenController

SAMP Oxygen Controller

Primary LanguagePawnApache License 2.0Apache-2.0

OxygenController

SAMP Oxygen Controller

  • How to use

     #include <OxygenController>
  • Callbacks List

    • OnPlayerEnterInWater(playerid);
    • OnPlayerEnterUnderWater(playerid);
    • OnPlayerOutFromWater(playerid);
  • Functions List

    • IsPlayerInWater(playerid);
    • IsPlayerUnderWater(playerid);
    • SetPlayerOxygenValue(playerid, Float:Value);
    • GetPlayerOxygenValue(playerid);
    • SetPlayerMaxOxygenValue(playerid, Float:Value);
    • GetPlayerMaxOxygenValue(playerid);
    • GivePlayerOxygenValue(playerid, Float:Value);
    • GetPlayerOxygenStatus(playerid);
    • GetPlayerDepth(playerid);
  • Status Definitions

    • OXYGEN_NONE
    • OXYGEN_SPENDING
    • OXYGEN_REFILL
  • Requiments