Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:admins( playerid )
- {
- new count;
- gszString[ 0 ] = EOS;
- SendClientMessage(playerid, COLOR_WHITE, "{ADFF5C}|___ Adminii Online ___|");
- SendClientMessage(playerid, COLOR_WHITE, "{A9C4E4} RO: Daca ai vreo problema, poti folosi [/report].");
- SendClientMessage(playerid, COLOR_WHITE, "{A9C4E4} EN: If you have any problem, you can use [/report].");
- foreach(Player, i)
- {
- if( P_DATA[ i ][ pAdmin ] > 0 )
- {
- 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" ) );
- SendClientMessage( playerid, COLOR_WHITE, gszString );
- count++;
- }
- }
- if( count == 0 ) return SendClientMessage(playerid, COLOR_WHITE, "{FF0000}Error{FFFFFF}: Nici un admin nu este online.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement