I dont really understand what you mean. You cant disable the button in the database. You could either remove the button from the ResData for the window and remove it from the source or disable it through the source. Do you want to disable it so its greyed out and not clickable or do you want to remove it? If you want to remove it entirely the first step is to remove it from resdata.inc. After this change your client will probably crash if you dont remove it from the source too. BUT this would only remove the button. If someone sent the packet manually he would still be able to delete his character. So you have to check the current delete button and remove the packet it sends from the server side source.