diff --git a/SMJSONAPI/scripting/API.inc b/SMJSONAPI/scripting/API.inc index d8ffcdbf..d5e51312 100644 --- a/SMJSONAPI/scripting/API.inc +++ b/SMJSONAPI/scripting/API.inc @@ -47,3 +47,11 @@ public int API_GetMaxClients() { return MaxClients; } + +public int API_GetUserFlagBits(int client) +{ + if (!IsClientConnected(client)) + return 0; + + return GetUserFlagBits(client); +}