Update admin_one.pwn

This commit is contained in:
Sultan1337 2019-07-20 13:05:27 +05:00 committed by GitHub
parent 4a77e20146
commit d9a6a69402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,7 @@ CMD:aod( playerid, params[ ] )
DisableRemoteVehicleCollisions( playerid, 0 );
SendClientMessage( playerid, -1, ""COL_PINK"[ADMIN]"COL_WHITE" You have disabled administration mode." );
}
SendClientMessageFormattedToAll( -1, ""COL_PINK"[ADMIN]"COL_WHITE" %s(%d) is now %s-duty.", ReturnPlayerName( playerid ), playerid, p_AdminOnDuty{ playerid } == true ? ( "on" ) : ( "off" ) );
SetPlayerColorToTeam( playerid );
return 1;
}
@ -742,4 +743,4 @@ CMD:chatbanlist( playerid, params[ ] )
return SendError( playerid, "There are no chat banned players online." );
else
return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_TABLIST, ""COL_WHITE"Chat Ban List", szNormalString, "Close", "" ), 1;
}
}