29.07.2018, 17:35
no, this is just a dialog, you forgot
you dont have this function in your gm
Quote:
if(dialogid == D_Certified) { if(response) { if(!strlen(inputtext)) { SendClientMessage(playerid, -1, "You have not entered the name of the account."); return ShowPlayerDialog(playerid, D_Certified, DIALOG_STYLE_INPUT, "Test", "Test:", ">", "x"); } if(Checkaccount(inputtext)) //function { new Message[29 + MAX_PLAYER_NAME]; format(Message, sizeof(Message), "Account %s It was certified.", inputtext); SendClientMessage(playerid, -1, Message); } else { new Message[29 + MAX_PLAYER_NAME]; format(Message, sizeof(Message), "Account %s Not certified.", inputtext); SendClientMessage(playerid, -1, Message; } } return 1; } |