Ivanoviccc

cmd:cc

May 13th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. CMD:cc( playerid, params[], help) {
  2.  
  3. if( PlayerInfo[ playerid ][ xAdmin ] >= 1 ) {
  4.  
  5. for( new j; j < 110; j++ ) {
  6. SendClientMessageToAll( -1, "" );
  7. }
  8. new string[128];
  9. if( PlayerInfo[ playerid ][ xAdmin ] == 7 ) { format( string, sizeof( string ), ""col_athlone"Vlasnik "col_white"%s "col_athlone"je ocistio chat.", ImeIgraca( playerid ) ); }
  10. else if( PlayerInfo[ playerid ][ xAdmin ] == 6 ) { format( string, sizeof( string ), ""col_athlone"Direktor "col_white"%s "col_athlone"je ocistio chat.", ImeIgraca( playerid ) ); }
  11. else if( PlayerInfo[ playerid ][ xAdmin ] == 5 ) { format( string, sizeof( string ), ""col_athlone"Glavni Admin "col_white"%s "col_athlone"je ocistio chat.", ImeIgraca( playerid ) ); }
  12. else if( PlayerInfo[ playerid ][ xAdmin ] >= 1 && PlayerInfo[ playerid ][ xAdmin ] <= 4 ) { format( string, sizeof( string ), ""col_athlone"Admin "col_white"%s "col_athlone"je ocistio chat.", ImeIgraca( playerid ) ); }
  13. else if( PlayerInfo[ playerid ][ xHelper ] >= 1 ) { format( string, sizeof( string ), ""col_athlone"Helper "col_white"%s "col_athlone"je ocistio chat.", ImeIgraca( playerid ) ); }
  14. SendClientMessageToAll(-1, string);
  15. SendClientMessageToAll( ZELENA, "=== www.San Arena-samp.com ===");
  16.  
  17. }
  18. else return GRESKA( playerid, "Niste ovlasteni za KORISTI ove komande!");
  19. return 1;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment