21.10.2012, 05:07
Hello can some one tell me how i can change my LOGIN [DIALOG_BOX] Size?
i want to make it wide
Pic

i want to make it wide
Pic

Код:
//STOCK FUNCTIONS
stock GetPlayersInTeam(TEAM)
{
new players;
for (new i; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
if (gTeam[i] == TEAM) players++;
}
}
return players;
}
stock ShowLoginScreen(playerid)
{
new string[128];
format(string, sizeof(string), "Welcome back %s\nBefore playing you must login\nEnter your password below and click login",PlayerName(playerid));
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login required",string,"Login","Cancel");
}
stock ShowRegisterScreen(playerid)
{
new string[128];
format(string, sizeof(string), "Welcome to the server %s\nThis server requires you to register an account before playing\nEnter your desired password below then click ok",PlayerName(playerid));
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registration required",string,"Register","Cancel");
}
stock ShowChangePassScreen(playerid)
{
new string[128];
format(string, sizeof(string), "Please make sure you enter your new password correctly.\nEnter your desired password below then click ok.",PlayerName(playerid));
ShowPlayerDialog(playerid,DIALOG_CHANGEPASS,DIALOG_STYLE_INPUT,"Enter the new password.",string,"Change","Cancel");
}

