Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:cc( playerid, params[], help) {
- if( PlayerInfo[ playerid ][ xAdmin ] >= 1 ) {
- for( new j; j < 110; j++ ) {
- SendClientMessageToAll( -1, "" );
- }
- new string[128];
- if( PlayerInfo[ playerid ][ xAdmin ] == 7 ) { format( string, sizeof( string ), ""col_sanm"Owner "col_white"%s "col_sanm"je ocistio chat. %s%d:%s%d:%s%d", ImeIgraca( playerid ) ); }
- else if( PlayerInfo[ playerid ][ xAdmin ] == 6 ) { format( string, sizeof( string ), ""col_sanm"Director "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
- else if( PlayerInfo[ playerid ][ xAdmin ] == 5 ) { format( string, sizeof( string ), ""col_sanm"Head Admin "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
- else if( PlayerInfo[ playerid ][ xAdmin ] >= 1 && PlayerInfo[ playerid ][ xAdmin ] <= 4 ) { format( string, sizeof( string ), ""col_sanm"Admin "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
- else if( PlayerInfo[ playerid ][ xSupporter ] >= 1 ) { format( string, sizeof( string ), ""col_sanm"Supporter "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
- SendClientMessageToAll(-1, string);
- new sat,minute,sekunde;
- gettime(sat,minute,sekunde);
- format(string,sizeof(string),"Sada je tacno %d:%d, a vi igrate na Unification Gaming serveru.",sat,minute);
- SendClientMessageToAll(-1,string);
- SendClientMessageToAll( UGAMING, "=== www.ug-ogc.com ===");
- }
- else return SendErrorMessage( playerid, "Niste ovlasteni za KORISTI ove komande!");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement