Dialog Problem
#1

I have problem -.-

Код:
new naslov2[128], text[1024], strText[104];
    format(strText, 35, USER_PATH, PlayerName(playerid));
    if(!INI_Exists(strText))
    {
    	format(naslov2, sizeof(naslov2), "Registracija");
    	format(text, sizeof(text), ""Plava"________________________________________________\n\n"COL_WHITE"Dobrodosao na CroHerzegovina DeathMatch server!\n\n\n"#Plava"%s\n"#COL_WHITE"Tvoj korisnicki racun nije pronaden\n\n\nMolimo upisi svoju lozinku da se registriras:\n\n"Plava"________________________________________________", PlayerName(playerid));
    	ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, naslov2, text, "Register","Odustani");
    }
    else
    {
        format(naslov2, sizeof(naslov2), ""#COL_WHITE"Logiranje");
        format(text, sizeof(text),""Plava"________________________________________________\n\n"COL_WHITE"Dobrodosao na CroHerzegovina FreeRoam server!\n\n\n"#Plava"%s\n"#COL_WHITE"Tvoj korisnicki racun je pronaden\n\n\nMolimo upisi svoju lozinku da udjes na server:\n\n"Plava"________________________________________________", PlayerName(playerid));
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, naslov2, text, "Login","Odustani");
    }
	SetPVarInt(playerid, "Prijavljen", 1);
Код:
C:\Users\Sabljak\Desktop\SAMP\FreeRoam CH By Sabo\gamemodes\CHFR.pwn(335) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Sabljak\Desktop\SAMP\FreeRoam CH By Sabo\gamemodes\CHFR.pwn(335) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Sabljak\Desktop\SAMP\FreeRoam CH By Sabo\gamemodes\CHFR.pwn(335) : warning 215: expression has no effect
C:\Users\Sabljak\Desktop\SAMP\FreeRoam CH By Sabo\gamemodes\CHFR.pwn(335) : error 001: expected token: ";", but found "-integer value-"
C:\Users\Sabljak\Desktop\SAMP\FreeRoam CH By Sabo\gamemodes\CHFR.pwn(335) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Dialog Problem - by David (Sabljak) - 27.12.2012, 00:44
Re: Dialog Problem - by Chrillzen - 27.12.2012, 01:08
Re: Dialog Problem - by David (Sabljak) - 27.12.2012, 01:16

Forum Jump:


Users browsing this thread: 1 Guest(s)