/*
Alex "Y_Less" Cole's server system
- RCON user system
VERY basic module to allow admins to use all functions
NOTE: if you use the user system DO NOT use this module
*/
#include <a_samp>
#define YSS_MINIMAL_SETTINGS
#include "YSScommon.pwn"
forward YSGetUserLevel(playerid);
public OnFilterScriptInit()
{
ADD_MODULE("rcon", "YSS RCON users module v0.1 (c) Alex \"Y_Less\" Cole")
return 1;
}
public OnFilterScriptExit()
{
REMOVE_MODULE("rcon")
return 1;
}
public YSGetUserLevel(playerid)
{
if (IsPlayerAdmin(playerid)) return 100;
return 0;
// Use 101+ to disable a command entirely
}