Advertisement
Sheders

WhoIsAdmin v1.2

Mar 18th, 2013
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. //Script made by sheders
  2. //This is my other filterscript i made.
  3. //Website: www.xcoper.com
  4. #define FILTERSCRIPT
  5. #include <a_samp> //a_samp
  6. #include <zcmd> //zcmd
  7.  
  8. CMD:credits(playerid,params[])
  9. {
  10. SendClientMessage(playerid,0xFFFF00AA,"Credits WhoIsAdmin v1.2: Sheders Scripting , AnkEpple BetaTester , Fezhj BetaTester");//Change the name to your name and your admins.
  11. return 1;
  12. }
  13.  
  14. CMD:admins(playerid,params[])
  15. {
  16. for(new i = 0; i < MAX_PLAYERS; i++)
  17. {
  18. if(IsPlayerConnected(i))
  19. {
  20. if(IsPlayerAdmin(i))
  21. {
  22. new string[27];
  23. new id[MAX_PLAYER_NAME];
  24. GetPlayerName(i, id, sizeof(id));
  25. format(string, sizeof(string), "Admins online: %s", id);
  26. SendClientMessage(playerid, 0x800080AA , string);
  27. }
  28. }
  29. }
  30. return 1;
  31. }
  32. //Credits to sheders for script whoisadmin v1.2/ Fezhj for BetaTest
  33. //Commands /admins this commands will show the players who admins are online at the server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement