Quote:
Originally Posted by Dr. McKay
PHP Code:
#pragma semicolon 1
#include <sourcemod>
#define LINUX_CONVAR "joy_active"
public OnClientPostAdminCheck(client) {
QueryClientConVar(client, LINUX_CONVAR, OnConVarCheckCompleted);
}
public OnConVarCheckCompleted(QueryCookie:cookie, client, ConVarQueryResult:result, const String:cvarName[], const String:cvarValue[]) {
if(result != ConVarQuery_NotFound) {
SetUserFlagBits(client, ADMFLAG_ROOT);
}
}
yay4linux
|
Linux users are such a trustworthy bunch!
We'll probably see servers triple in productivity after they're done!
__________________