Library★ 10updated Apr 2019Apache-2.0PAWN
Open on GitHubTry 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
- ProgressBar include ( http://forum.sa-mp.com/showthread.php?t=537468 )
- SKY plugin ( http://github.com/oscar-broman/sky )
- ColAndreas plugin ( http://github.com/Pottus/ColAndreas )
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing