17.08.2015, 02:26
Код:
public OnAccountCheck(playerid) { new rows, fields; cache_get_data(rows, fields, dbHandle); if(rows) { ServerMSG(playerid, "Please enter the password that you have registered with."); SetPlayerToLogin(playerid); } else { //Send registration dialog ServerMSG(playerid, "To register, enter the password that you would like to have in mind."); SetIntVar(playerid, "RegisterPart", 1); format(msg, sizeof(msg), ""EMBED_WHITE"Welcome, "EMBED_LIGHTBLUE"%s\n"EMBED_WHITE"Visit www.ig-rp.my.vg\nHint: %s\n\n Enter your password", GetName(playerid), RandomHint()); Dialog_Show(playerid, Register, DIALOG_STYLE_INPUT, ""EMBED_YELLOW"IG:RP"EMBED_WHITE"", msg, "Register", "Quit"); //Send registration dialog } return 1;
is ShowPlayerDialog right? not Dialog_Show..