Advertisement
XxRoWxX

Untitled

Sep 1st, 2014
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. CMD:admins( playerid )
  2. {
  3. new count;
  4. gszString[ 0 ] = EOS;
  5. SendClientMessage(playerid, COLOR_WHITE, "{ADFF5C}|___ Adminii Online ___|");
  6. SendClientMessage(playerid, COLOR_WHITE, "{A9C4E4} RO: Daca ai vreo problema, poti folosi [/report].");
  7. SendClientMessage(playerid, COLOR_WHITE, "{A9C4E4} EN: If you have any problem, you can use [/report].");
  8. foreach(Player, i)
  9. {
  10. if( P_DATA[ i ][ pAdmin ] > 0 )
  11. {
  12. format( gszString, 128, "%s: {FF6347}%s {FFFFFF}(%d{FFFFFF}) - %s", GetAdminRank( P_DATA[i][pAdmin] ), GetName( i ),i, (AdminDuty[i] == 1) ? ( "{55FF00}ON DUTY" ) : ( "{FF0000}OFF DUTY" ) );
  13. SendClientMessage( playerid, COLOR_WHITE, gszString );
  14. count++;
  15. }
  16. }
  17. if( count == 0 ) return SendClientMessage(playerid, COLOR_WHITE, "{FF0000}Error{FFFFFF}: Nici un admin nu este online.");
  18. return 1;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement