17.10.2010, 22:19
I have used a tut for the Register Script and I want it to say the players name in the Dialog?
Here is were I want it to say the Players Name;
pawn Код:
Login[playerid] = 0;
new nombre[MAX_PLAYER_NAME], archivo[256];
GetPlayerName(playerid, nombre, sizeof(nombre));
new getplayer[MAX_PLAYER_NAME];
format(archivo, sizeof(archivo), "/Users/%s.ini", nombre);
if (!dini_Exists(archivo))
{
ShowPlayerDialog(playerid, Register, DIALOG_STYLE_INPUT, "Foxx Role Play - Register", "Please enter a safe Passwsord for your Account", "Register", "Quit");
}
else
{
ShowPlayerDialog(playerid, Logged, DIALOG_STYLE_INPUT, "Foxx Role Play - Login", "Please type your Password for the Account '%s'", "Login", "Quit");
}
return 1;
}
pawn Код:
ShowPlayerDialog(playerid, Logged, DIALOG_STYLE_INPUT, "Foxx Role Play - Login", "Please type your Password for the Account '%s'", "Login", "Quit");