Salut,ma puteti ajuta sa scot prostia de register pe site,va multumesc.
Quote:
PlayerInfo[playerid][pDatabaseID] = mysql_fetch_int(); new string[128]; format( string, sizeof( string ), "{FFFFFF}Bine ai (re)venit {FFA700}%s{FFFFFF}!\nAi 60 de secunde sa te loghezi\n\tIntrodu-ti parola", GetPlayerNameEx(playerid) ); ShowPlayerDialog( playerid, 1, DIALOG_STYLE_PASSWORD,"{FFA700}Europa Roleplay - Logare{FFFFFF}",string, "Login", "Exit" ); SetTimerEx("LogTimer", 60000, 0, "d", playerid); SetTimerEx("NewLoginScreen", 100, 0, "d", playerid); TogglePlayerSpectating(playerid, 1); gPlayerLogged[playerid] = 0; mysql_free_result(); } } else { //ShowPlayerDialog( playerid, 2, DIALOG_STYLE_PASSWORD, "{6EF83C}Inregistrare{FFFFFF}", "Bine ai venit!\n\nTe rugam sa introduci o parola pentru a te inregistra.", "Register", "Cancel" ); gPlayerLogged[playerid] = 0; SendClientMessage(playerid, COLOR_LIGHTRED, "Nu ai un cont inregistrat, conecteazate pe www.teste.com si inregistreazate."); SetTimerEx("KickPublic", 60, false, "d", playerid); } return 1; } |
Aucun commentaire:
Enregistrer un commentaire