Advertisement
PaulCastellano

lux

Feb 12th, 2016
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. CMD:cc( playerid, params[], help) {
  2. if( PlayerInfo[ playerid ][ xAdmin ] >= 1 ) {
  3. for( new j; j < 110; j++ ) {
  4. SendClientMessageToAll( -1, "" );
  5. }
  6. new string[128];
  7. 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 ) ); }
  8. else if( PlayerInfo[ playerid ][ xAdmin ] == 6 ) { format( string, sizeof( string ), ""col_sanm"Director "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
  9. else if( PlayerInfo[ playerid ][ xAdmin ] == 5 ) { format( string, sizeof( string ), ""col_sanm"Head Admin "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
  10. 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 ) ); }
  11. else if( PlayerInfo[ playerid ][ xSupporter ] >= 1 ) { format( string, sizeof( string ), ""col_sanm"Supporter "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
  12. SendClientMessageToAll(-1, string);
  13. new sat,minute,sekunde;
  14. gettime(sat,minute,sekunde);
  15. format(string,sizeof(string),"Sada je tacno %d:%d, a vi igrate na Unification Gaming serveru.",sat,minute);
  16. SendClientMessageToAll(-1,string);
  17. SendClientMessageToAll( UGAMING, "=== www.ug-ogc.com ===");
  18.  
  19. }
  20. else return SendErrorMessage( playerid, "Niste ovlasteni za KORISTI ove komande!");
  21. return 1;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement