Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if( dialogid == dialog_ADMINVERIFI ) {
- if( !response ) return true;
- if( response ) {
- if( PlayerInfo[ playerid ][ xAKod ] == strval( inputtext ) && !isnull( inputtext ) ) {
- if( !AdminDuty[ playerid ] ) {
- Roby_SetPlayerHealth( playerid, 100);
- Roby_SetPlayerArmour( playerid, 99);
- SetPlayerColor(playerid, ZUTA);
- if( PlayerInfo[ playerid ][ xAdmin ] < 5 && PlayerInfo[ playerid ][ xPol ] == 1 ) {
- SetPlayerSkin( playerid, 294 );
- }
- else if( PlayerInfo[ playerid ][ xAdmin ] >= 1 && PlayerInfo[ playerid ][ xPol ] == 2 ) {
- SetPlayerSkin( playerid, 91 );
- }
- Info( playerid, "Sada si na Admin Duznosti!", 7 );
- //Info( playerid, "Sada si naAdmin duznosti." );
- AdminDuty[ playerid ] = true;
- if( PlayerInfo[ playerid ][ xAdmin ] < 7 ) {
- 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 ) );
- SCMA(SERVERBOJA, globalstring );
- }
- }
- else return GRESKA( playerid, "Vec si naAdmin duznosti." );
- }
- else return GRESKA( playerid, "PogresanAdmin kod." );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement