17.12.2013, 22:06
I maked a new register/login system and now when player connect and he need to show a dialog to login or register and when player go to "Accept" we going to login dialog and the line, [/code]Vi preostanuvaat uste %d obidi[/code] was not show :/ how to make to show that line ? Help rep +
pawn Код:
new loginstring[1000];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname));
IzbrisiChat(playerid, 100);
format(loginstring, sizeof(loginstring), "\n{FFFF7B}Dobrodojdovte na BalkanEvolution RolePlay Gaming Serverot !\n\n{7b79ff}___________________________\n\n");
strcat(loginstring, "{FFFFFF}Vnesete ja vasata lozinka za da se najavite.\n\n{CE1C18}Predupreduvanje:{FFFFFF} Poradi bezbednost na vasiot\nprofil lozinkata ne ja kazuvajte na nikogo.\n\n");
strcat(loginstring, "{003CFF}Vi preostanuvaat uste %d obidi !", LoginObidi[playerid]);
ShowPlayerDialog(playerid, 12347, DIALOG_STYLE_PASSWORD, "Profil",loginstring, "Najavi se","Otkazi");
LoginObidi[playerid] --;
if(LoginObidi[playerid] == 0)
{
Kick(playerid);
}