20.10.2016, 19:32
Evening.
I want to check if the strings from the master account are 'empty'.
Still, the strings are set to 'Empty', but it still shows the second message.
I want to check if the strings from the master account are 'empty'.
Код:
if(strfind(MasterInfo[playerid][mName], "Empty", true) != -1 || strfind(MasterInfo[playerid][mName2], "Empty", true) != -1 || strfind(MasterInfo[playerid][mName3], "Empty", true) != -1) { SendClientMessage(playerid, COLOR_YELLOW, "INFO: You don't have any characters yet, please create a new one by clicking on the arrow."); SendClientMessage(playerid, COLOR_YELLOW, "INFO: For security reasons characters can't be deleted."); } else { SendClientMessage(playerid, COLOR_YELLOW, "INFO: Please select your character or create a new one by clicking on the arrow."); SendClientMessage(playerid, COLOR_YELLOW, "INFO: For security reasons characters can't be deleted."); }