SHARE
TWEET

Untitled

a guest Jul 17th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     else if( dialogid == dialog_ADMINVERIFI ) {
  2.         if( !response ) return true;
  3.         if( response ) {
  4.             if( PlayerInfo[ playerid ][ xAKod ] == strval( inputtext ) && !isnull( inputtext ) ) {
  5.                 if( !AdminDuty[ playerid ] ) {
  6.                     Roby_SetPlayerHealth( playerid, 100);
  7.                     Roby_SetPlayerArmour( playerid, 99);
  8.                     SetPlayerColor(playerid, ZUTA);
  9.                     if( PlayerInfo[ playerid ][ xAdmin ] < 5 && PlayerInfo[ playerid ][ xPol ] == 1 ) {
  10.                         SetPlayerSkin( playerid, 294 );
  11.                     }
  12.                     else if( PlayerInfo[ playerid ][ xAdmin ] >= 1 && PlayerInfo[ playerid ][ xPol ] == 2 ) {
  13.                         SetPlayerSkin( playerid, 91 );
  14.                     }
  15.                     Info( playerid, "Sada si na Admin Duznosti!", 7 );
  16.  
  17.                     //Info( playerid, "Sada si naAdmin duznosti." );
  18.                     AdminDuty[ playerid ] = true;
  19.                     if( PlayerInfo[ playerid ][ xAdmin ] < 7 ) {
  20.                         format( globalstring, sizeof( globalstring ), "(( "col_white"Administrator "col_crvena"%s "col_white"je sada na duznosti, ako vam je potrebna pomoc - /askq "col_crvena"))", ImeIgraca( playerid ) );
  21.                         SCMA(SERVERBOJA, globalstring );
  22.                     }
  23.                 }
  24.                 else return GRESKA( playerid, "Vec si naAdmin duznosti." );
  25.             }
  26.             else return GRESKA( playerid, "PogresanAdmin kod." );
  27.         }
  28.     }
RAW Paste Data
Top