29.07.2018, 17:30
Quote:
|
and where did you get that function in gamemode?
may be in a include, try to find it on the internet. |
Код:
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;
}


