10.08.2015, 10:32
(
Последний раз редактировалось Gammix; 05.11.2016 в 19:37.
)
GAdmin v2.5.3
Last Updated: 15 October, 2016
- Security question system (easily recover your password).
- EasyDB, allowing you to use any SQL database type i.e. MySQL or SQLite; with just chaning one line of code.
- SHA256 based password hashing.
- In game modifiable configurations/settings.
- Nicely optimized admin script in user friendly manner.
- Fully custom SQL based ban system (ban.inc).
- Can be easily integrated with gamemodes.
- More than 100+ commands.
- Script Compatibility to check player login status in other scripts and also callbacks for login status updates from gadmin filterscript.
- All commands (/gcmds)
- Configuration dialog (/settings)
- /stats:
- GAdmin folder (scriptfiles/GAdmin/):
SickAttack - "IsAdvertisement" function.
Zeex and Yashas - I-ZCMD include
Jochemd - Timestamptodate include
Emmet_ - easydialog include
Luicy. - OnPlayerFullyConnect callback
Compatibility Script
Its very easy to detect if the player has logged in or registered or is a guest through callbacks.
Paste this code in your script where you want to have compatibility:
PHP код:
stock bool: IsPlayerLoggedIn(playerid)
{
return (GetPVarInt(playerid, "gadmin_LoginStatus") != 2) ? (true) : (false);
}
stock bool: IsPlayerGuest(playerid)
{
return (GetPVarInt(playerid, "gadmin_LoginStatus") == 2) ? (true) : (false);
}
forward OnPlayerLogin(playerid, bool: guest);
forward OnPlayerRegister(playerid);
* OnPlayerRegister is called when a new player sign-up a new account. (Note: OnPlayerLogin is also called when a player registers)
Download
http://www.mediafire.com/file/ss536r...hhp/GAdmin.zip