samp.directory
← Scripts and libraries

Ino-Bagaric/OxygenController

SAMP Oxygen Controller

Library★ 10updated Apr 2019Apache-2.0PAWN
Open on GitHub
Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

README.md

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

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

Ino-Bagaric/OxygenController: SA-MP Library | samp.directory