Code
public OnUserCheck(playerid)
{
new num_rows,num_fields;
cache_get_data(num_rows,num_fields,dbhandle);
if(num_rows==0)
{
//Registrierung
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,"Registrierung","Gib dein Gewünschtes Passwort ein:","Weiter","Abbrechen");
}
else
{
//Login
}
return 1;
}
Alles anzeigen