Skip to content

Ino-Bagaric/OxygenController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

SAMP Oxygen Controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages