26 errors ;(
#1

I tryed to put #define and everything but it shows me errors again.
I get this errors

Код:
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(5318) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(6777) : warning 202: number of arguments does not match definition
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(6777) : warning 202: number of arguments does not match definition
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(6777) : warning 202: number of arguments does not match definition
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10664) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10668) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10672) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10676) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10680) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10684) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10688) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10692) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10696) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10700) : error 017: undefined symbol "StopAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13131) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13135) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13157) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13400) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13408) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13428) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13433) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13459) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13488) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13517) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13546) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13574) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13600) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13629) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13659) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
Reply
#2

You might have a missing brackets "{" somewhere!
Reply
#3

I know i try to find, but unfortunately I have not found ;(
Reply
#4

Update your Includes and see if it is still giving the errors
Reply
#5

Show us the code.
Reply
#6

Yeah please show us the code so we can take a look at it?
Reply
#7

Thanks i update my includes and it fix some problems now i have just these

Without #define it show me this
Код:
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(5318) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10664) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10668) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10672) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10676) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10680) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10684) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10688) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10692) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10696) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10700) : error 017: undefined symbol "StopAudioStreamForPlayer"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13131) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13135) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13157) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13400) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13408) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13428) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13433) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13459) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13488) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13517) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13546) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13574) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13600) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13629) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13659) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
If i put #define it show me this
Код:
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(5323) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10669) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10673) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10677) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10681) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10685) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10689) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10693) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10697) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10701) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(10705) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13136) : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13136) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13136) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13136) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13136) : warning 215: expression has no effect
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13136) : error 001: expected token: ";", but found ")"
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13136) : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(13136) : fatal error 107: too many error messages on one line
Anyway here is that codes

5323
Код:
public OnPlayerConnect(playerid)
{
	RemoveBuildingForPlayer(playerid, 710, 1086.3672, -778.1563, 120.6094, 0.25);                  //HERE IS THE ERROR
	new string[128];
	new string2[128];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    new bancheck[64];
    new msg2[128];
    new y, m, d;
	new h,mi,s;
	getdate(y,m,d);
	gettime(h,mi,s);
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
	new aca = strfind(plname, "Aleksandar", true);
	new peja = strfind(plname, "Pejashinovic", true);
	new jack = strfind(plname, "JackMan", true);
	new baba = strfind(plname, "Alibaba", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
	gPlayerAnimLibsPreloaded[playerid] = 0;
10669 - I hope you understand where the errors to i don't have to write
Код:
            if(listitem == 6)
			{
     	        SetPlayerHealth(playerid, 100);
	 	    	GivePlayerMoney(playerid, -10);
				OnePlayAnim(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); // Eat Burger
				format(string, sizeof(string), "* %s jede cips.", sendername);
				ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
		    }
		}
		if(dialogid == 1996 && response)
		{
		    foreach(Player, i)
		    {
	            if(listitem == 0)
				{
					PlayAudioStreamForPlayer(i, "http://k003.kiwi6.com/hotlink/q6s8genu5u/harlem_shake_-_full_song.mp3");
			    }
			    if(listitem == 1)
				{
    				PlayAudioStreamForPlayer(i, "http://k002.kiwi6.com/hotlink/9f3oh40rqf/swedish_house_mafia_-_one_original_mix_.mp3");
			    }
			    if(listitem == 2)
				{
                    PlayAudioStreamForPlayer(i, "http://k002.kiwi6.com/hotlink/nbxrfl79mb/fkn_insane_-_dj_bl3nd.mp3");
			    }
				if(listitem == 3)
				{
                    PlayAudioStreamForPlayer(i, "http://balkan.dj.topstream.net:8070/listen.pls");
			    }
			    if(listitem == 4)
				{
				    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/s7q0gs024e/lmfao_imsexyy.mp3");
			    }
			    if(listitem == 5)
				{
				    PlayAudioStreamForPlayer(i, "http://k005.kiwi6.com/hotlink/58ck46m7zd/dadoinvivoparty.mp3");
			    }
			    if(listitem == 6)
				{
				    PlayAudioStreamForPlayer(i, "http://k002.kiwi6.com/hotlink/xi21jn2sus/psy_-_gentleman_m_v.mp3");
			    }
			    if(listitem == 7)
				{
				    PlayAudioStreamForPlayer(i, "http://k004.kiwi6.com/hotlink/8gdl57vlzi/gangnam_style.mp3");
			    }
			    if(listitem == 8)
				{
				    PlayAudioStreamForPlayer(i, "http://streaming.tdiradio.com:9000/listen.pls");
			    }
			    if(listitem == 9)
				{
        			StopAudioStreamForPlayer(i);
			    }
			}
		}
13131 - Errors is everywhere where writes DIALOG_STYLE_PASSWORD ;(
Код:
		if(dialogid == 1244)
		{
		    if(response)
		    {
				if (gPlayerNalog[playerid] != 0)
				{
					ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_PASSWORD,"{157DEC}Dobrodosli, molimo Vas Ulogujte se","Ukucajte {FF0000}password {FFFFFF}da bi se {157DEC}ulogovali{FFFFFF}.","Log-in","Izadji");
				}
				else
				{
					ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_PASSWORD,"{157DEC}Dobrodosli, molimo Vas registrujte se","Upisite vas {FF0000}password {FFFFFF}da bi {157DEC}registrovali novi Nalog{FFFFFF}.","Registruj_se","Izadji");
				}
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Has accepted the terms and conditions.",d,m,y,h,mi,s,sendername);
				LoginLog(string);
			}
			else
			{
			    SendClientMessage(playerid, COLOR_GREY,"* You selected \"Refuse\", To play you must agree to the terms of condition");
				Kick(playerid);
			}
		}
		if(dialogid == 333)
		{
		    if(response)
		    {
		        if(listitem == 0)
		        {
		            strmid(Kucajted[playerid], "////", 0, strlen("////"), 255);
		            ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Potvrdite vas{FF0000} password{FFFFFF}","Upisite vas sadasnji {FF0000}password{FFFFFF} ponovo, iz sigurnosnih razloga.","Ok","Otkazi");
				}
				else if(listitem == 1)
				{
					if(PlayerInfo[playerid][pLevel] >= 0)
					{
						new nxtlevel = PlayerInfo[playerid][pLevel]+1;
						new expamount = nxtlevel*levelexp;
						new infostring[128];
						if (PlayerInfo[playerid][pExp] < expamount)
						{
							format(infostring, 128, "** Treba vam %d Respect Poena, trenutno imate [%d] !",expamount,PlayerInfo[playerid][pExp]);
							SendClientMessage(playerid, COLOR_GRAD1, infostring);
							return 1;
						}
						else
						{
							format(string, sizeof(string), "~g~LEVEL UP~n~~w~Sada ste level %d", nxtlevel);
							PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
							PlayerPlayMusic(playerid);
							/*SafeGivePlayerMoney(playerid, (-costlevel));*/
							PlayerInfo[playerid][pLevel]++;
							if(PlayerInfo[playerid][pRegularRank] > 0)
							{
							    PlayerInfo[playerid][pExp] -= expamount;
							    new total = PlayerInfo[playerid][pExp];
							    if(total > 0)
							    {
							        PlayerInfo[playerid][pExp] = total;
							    }
							    else
							    {
							        PlayerInfo[playerid][pExp] = 0;
							    }
							}
							else
							{
								PlayerInfo[playerid][pExp] = 0;
							}
							PlayerInfo[playerid][gPupgrade] = PlayerInfo[playerid][gPupgrade]+2;
							GameTextForPlayer(playerid, string, 5000, 1);
							format(infostring, 128, "* Dobili ste novi Level %d Kucajte /Nalog i izaberite upgrades da bi uradili odredjena unapredjenja (/upgrade)", nxtlevel);
							SendClientMessage(playerid, COLOR_GRAD1, infostring);
							format(infostring, 128, "* Imate %d neiskoriscenih Upgrade Poena",PlayerInfo[playerid][gPupgrade]);
							SendClientMessage(playerid, COLOR_GRAD2, infostring);
							new y, m, d;
							new h,mi,s;
							getdate(y,m,d);
							gettime(h,mi,s);
							format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /levelup (%d)",d,m,y,h,mi,s,sendername,nxtlevel);
							CommandLog(string);
						}
					}
				}
				if(listitem == 2)
		        {
		            strmid(Kucajted[playerid], "////", 0, strlen("////"), 255);
		            ShowPlayerDialog(playerid, 338, DIALOG_STYLE_INPUT,"Potvrdite vas{FF0000} password{FFFFFF}","Upisite vas trenurni password, provera iz sigurnosnih razloga.","Ok","Otkazi");
				}
				else if(listitem == 3)
				{
				    new regularrank = PlayerInfo[playerid][pRegularRank];
				    new playerlevel = PlayerInfo[playerid][pLevel];
				    new money = ScriptMoney[playerid];
				    new bankmoney = PlayerInfo[playerid][pNalog];
				    new punished = PlayerInfo[playerid][pPunished];
					new ptime = PlayerInfo[playerid][pConnectSeconds];
				    new playersip[24];
				    GetPlayerIp(playerid, playersip, sizeof(playersip));
				    new info[466];
				    new string1[256];
				    new string2[210];
				    format(string1, sizeof(string1),"Hello, %s. \n\n\nVas ID je: %d, Vas Regular Rank je %d, Vas level je %d. \n\n\nVas IP je %s \nPoslednji put ste vidjeni %s, Vasa IP adresa bila je %s. \nRegistrovali ste vas Nalog %s.",sendername, playerid, regularrank, playerlevel, playersip, PlayerInfo[playerid][pLastSeen], PlayerInfo[playerid][pIP],PlayerInfo[playerid][pRegistredDate]);
					format(string2, sizeof(string2),"\nBili ste kaznjavani %d puta od strane Administratora. \n\n\n Trenutno imate $%d u dzepu, i $%d u Banci. \n\n Vas ukupno provedeno vreme na serveru je: %d Sati | Total: %d Minuta | Total: %d Sekundi.",punished,money, bankmoney,(ptime / 3600), (ptime / 60), ptime);
					format(info, 512,"%s%s",string1,string2);
				    ShowPlayerDialog(playerid, 337,DIALOG_STYLE_MSGBOX,"--------- Podaci o Nalog-u --------",info,"Ok","Otkazi");
				}
                else if(listitem == 4)
		        {
		            strmid(Kucajted[playerid], "////", 0, strlen("////"), 255);
		            ShowPlayerDialog(playerid, 340, DIALOG_STYLE_INPUT,"Potvrdite vas{FF0000} password{FFFFFF}","Upisite vas trenurni {FF0000}password{FFFFFF}, provera iz sigurnosnih razloga.","Ok","Otkazi");
				}
				else if(listitem == 5)
		        {
		            strmid(Kucajted[playerid], "////", 0, strlen("////"), 255);
		            ShowPlayerDialog(playerid, 343, DIALOG_STYLE_INPUT,"Potvrdite vas{FF0000} password{FFFFFF}","Upisite vas trenurni {FF0000}password{FFFFFF}, provera iz sigurnosnih razloga.","Ok","Otkazi");
				}
				else if(listitem == 6)
		        {
		            strmid(Kucajted[playerid], "////", 0, strlen("////"), 255);
		            ShowPlayerDialog(playerid, 350, DIALOG_STYLE_INPUT,"Potvrdite vas{FF0000} password{FFFFFF}","Upisite vas trenurni {FF0000}password{FFFFFF}, provera iz sigurnosnih razloga.","Ok","Otkazi");
				}
				else if(listitem == 7)
		        {
		            strmid(Kucajted[playerid], "////", 0, strlen("////"), 255);
		            ShowPlayerDialog(playerid, 351, DIALOG_STYLE_INPUT,"Potvrdite vas{FF0000} password{FFFFFF}","Upisite vas trenurni {FF0000}password{FFFFFF}, provera iz sigurnosnih razloga.","Ok","Otkazi");
				}
			}
		}
		if(dialogid == 334)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 334, DIALOG_STYLE_INPUT,"Probajte opet, molimo vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n Upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
					    ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
		}
		if(dialogid == 10332)
		{
			if(response)
			{
				if(listitem == 0)
			    {
					format(string, sizeof(string), "  Imate $%d na vasem racunu.",PlayerInfo[playerid][pNalog]);
					ShowPlayerDialog(playerid, 10335, DIALOG_STYLE_MSGBOX,"{157DEC}Stanje racuna",string,"Ok","");
				}
				else if(listitem == 1)
			    {
					ShowPlayerDialog(playerid, 10333, DIALOG_STYLE_INPUT,"Podizanje Novca","Unesite sumu koju zelite da podignete sa vaseg racuna.","Podigni","Otkazi");
				}
			}
		}
		if(dialogid == 10336)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 10336, DIALOG_STYLE_INPUT,"Pogresan kod, pokusajte opet.","Molimo vas upisite vas {FF0000}PIN kod{FFFFFF}!","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new pinkod = strval(inputtext);
			 		if(PlayerInfo[playerid][pCardPin] == pinkod)
					{
					    new info[] = "Stanje na racunu\nPodizanje novca";
						ShowPlayerDialog(playerid, 10332, DIALOG_STYLE_LIST,"ATM Bankomat - Komercijalna Banka A.D.",info,"Ok","Otkazi");
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"**Pogresan {FF0000}pin kod{FFFFFF}!");
					}
				}
			}
		}
		if(dialogid == 10337)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 10337, DIALOG_STYLE_INPUT,"Pogresan kod, pokusajte opet.","Molimo vas upisite vas {FF0000}PIN kod{FFFFFF}!","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new pinkod = strval(inputtext);
			 		if(PlayerInfo[playerid][pCardPin] == pinkod)
					{
					    format(string, sizeof(string), "  Imate $%d na vasem racunu.",PlayerInfo[playerid][pNalog]);
						ShowPlayerDialog(playerid, 10335, DIALOG_STYLE_MSGBOX,"{157DEC}Stanje racuna",string,"Ok","");
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"**Pogresan {FF0000}pin kod{FFFFFF}!");
					}
				}
			}
		}
		if(dialogid == 10334)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 10334, DIALOG_STYLE_INPUT,"Pogresan kod, pokusajte opet.","Molimo vas upisite vas {FF0000}PIN kod{FFFFFF}!","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new pinkod = strval(inputtext);
			 		if(PlayerInfo[playerid][pCardPin] == pinkod)
					{
					    ShowPlayerDialog(playerid, 10333, DIALOG_STYLE_INPUT,"Podizanje Novca","Unesite sumu koju zelite da podignete sa vaseg racuna.","Podigni","Otkazi");
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"**Pogresan {FF0000}pin kod{FFFFFF}!");
					}
				}
			}
		}
		if(dialogid == 10333)
		{
		    if(response)
		    {
				new cashdeposit = strval(inputtext);
				if(!strlen(inputtext))
				{
					format(string, sizeof(string), "  Imate $%d na vasem racunu.", PlayerInfo[playerid][pNalog]);
					SendClientMessage(playerid, COLOR_GRAD3, string);
					return 1;
				}
				if (cashdeposit > PlayerInfo[playerid][pNalog] || cashdeposit < 1)
				{
					SendClientMessage(playerid, COLOR_GRAD2, "**Nemate toliko novca na racunu.");
					return 1;
				}
				SafeGivePlayerMoney(playerid,cashdeposit);
				PlayerInfo[playerid][pNalog]=PlayerInfo[playerid][pNalog]-cashdeposit;
				format(string, sizeof(string), "  Podigao si $%d za svog racuna Ukupno: $%d ", cashdeposit,PlayerInfo[playerid][pNalog]);
				SendClientMessage(playerid, COLOR_YELLOW, string);
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /atmwithdraw ($%d)",d,m,y,h,mi,s,sendername, cashdeposit);
				PayLog(string);
			}
		}
		if(dialogid == 335)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
					    strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
					    ShowPlayerDialog(playerid, 336, DIALOG_STYLE_PASSWORD,"Izaberite vas novi {FF0000}password{FFFFFF}","Upisite u polje ispod vas novi {FF0000}password{FFFFFF}","Ok","Nazad");
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 336)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
		    		ShowPlayerDialog(playerid, 342, DIALOG_STYLE_PASSWORD,"Izaberite vas novi {FF0000}password{FFFFFF}","Upisite vas novi {FF0000}password{FFFFFF} u polje i ispod","Ok","Nazad");
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 337)
		{
		    if(response)
		    {
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 338)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
					    SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Sada mozete koristiti vase upgrade-e! (/upgrade)");
					    CanUseUpgrade[playerid] = 1;
					    SetTimerEx("ResetUpgradeUse", 60000, true, "i", playerid);
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 339)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
         				SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Sada mozete koristiti vase upgrade-e! (/upgrade)");
					    CanUseUpgrade[playerid] = 1;
					    SetTimerEx("ResetUpgradeUse", 60000, true, "i", playerid);
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 340)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
					    SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Sada mozete koristiti opciju za promenu imena! (/changename)");
					    CanChangeName[playerid] = 1;
					    SetTimerEx("ResetUpgradeUse", 60000, true, "i", playerid);
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 341)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
			  	    new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
					    SendClientMessage(playerid, TEAM_GROVE_COLOR,"*  Sada mozete koristiti opciju za promenu imena! (/changename)");
					    CanChangeName[playerid] = 1;
					    SetTimerEx("ResetUpgradeUse", 60000, true, "i", playerid);
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 342)
		{
		    if(response)
		    {
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
   					if(strcmp(Kucajted[playerid],inputtext, true ) == 0 )
					{
					    new password2 = num_hash(inputtext);
				  	    PlayerInfo[playerid][pKey] = password2;
						format(string, sizeof(string),"* Vas novi {FF0000}password{FFFFFF} je %s, uspesno ste promenili {FF0000}password{FFFFFF}",inputtext);
						SendClientMessage(playerid, TEAM_GROVE_COLOR,string);
						ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 343)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
          			new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
					    SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Sada mozete izaci iz organizacije! (/quitfaction)");
					    CanLeaveFaction[playerid] = 1;
					    SetTimerEx("ResetUpgradeUse", 60000, true, "i", playerid);
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 350)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
 			  		new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
					    SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Sada mozete prodati kucu! (/sellhouse)");
					    SendClientMessage(playerid, COLOR_NICERED,"* Zapamtite, prodajom vase kuce gubite sve sto ste u njoj ostavili! Koristite opciju /uzmi i uzmite sve pre prodaje!!!");
					    CanSellHouse[playerid] = 1;
					    SetTimerEx("ResetUpgradeUse", 60000, true, "i", playerid);
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije.\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
		if(dialogid == 351)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 335, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, Molimo Vas potvrdite","Niste upisali {FF0000}password{FFFFFF}! \n upisite {FF0000}password{FFFFFF} u polje ispod da bi potvrdili vas identitet.","Ok","Nazad");
			  	}
			  	else
			  	{
          			new password2 = num_hash(inputtext);
			 		if(PlayerInfo[playerid][pKey] == password2)
					{
					    SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Sada mozete prodati vas biznis! (/sellbiz)");
					    CanSellBizz[playerid] = 1;
					    SetTimerEx("ResetUpgradeUse", 60000, true, "i", playerid);
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY,"* Pogresan {FF0000}password{FFFFFF}!");
					}
				}
			}
			else
			{
				ShowPlayerDialog(playerid, 333, DIALOG_STYLE_LIST,"Nalog","1\t Promenite {FF0000}password{FFFFFF} \n2\t Povecajte vas level \n3\t Omogucite koriscenje Upgrade poena \n4\t Informacije o vasem Nalogu \n5\t Omogucite promenu imena \n6\t Omogucite izlazak iz organizacije(Cena:50.000$)\n7\t Omogucite prodaju kuce\n8\t Omogucite prodaju biznisa","Izaberite","Otkazi");
			}
		}
	  	if(dialogid == 1245)
		{
		    if(response)
		    {
		        strmid(Kucajted[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Kucajted[playerid], "////", true))
				{
					ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, molimo vas ulogujte se","Niste upisali {FF0000}password{FFFFFF}!\nUpisite vas {FF0000}password {FFFFFF}u polje ispod da bi se {157DEC}ulogovali","Log-in","Izadji");
			  	}
			  	else
			  	{
		        	OnPlayerLogin(playerid, inputtext);
				}
			}
			else
			{
			    Kick(playerid);
			}
		}
		if(dialogid == 1246)
		{
		    if(response == 1)
		    {
		        if(strlen(inputtext) < 3)
				{
				    ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, molimo vas registrujte se","{FF0000}Password{FFFFFF} koji ste uneli je previse {FF0000}kratak{FFFFFF}!\nUpisite vas {FF0000}password{FFFFFF} ispod i {157DEC}registrujte vas nalog{FFFFFF}.","Registruj se","Izadji");
				    return 1;
				}
                if(strlen(inputtext) > 20)
                {
                    ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_PASSWORD,"Pokusajte ponovo, molimo vas registrujte se","{FF0000}Password{FFFFFF} koji ste uneli je suvise {FF0000}dugacak{FFFFFF}!\nUpisite vas {FF0000}password{FFFFFF} ispod i {157DEC}registrujte vas nalog{FFFFFF}.","Registruj se","Izadji");
                    return 1;
                }
Reply
#8

Please somebody help me ;(((
Reply
#9

Quote:
Originally Posted by Pocetnik
Посмотреть сообщение
Please somebody help me ;(((
Well, i think you have made an clamp error...

use this tool to find it: http://germanrsbot.square7.de/Klamme...?Seite=profile

Greekz
Reply
#10

Quote:
Originally Posted by Pocetnik
Посмотреть сообщение
Without #define it show me this

If i put #define it show me this


If the compiler complains about "undefined symbol" it means the symbol doesn't exist, but it does NOT mean that you need to use #define. After all, the symbol may refer to a variable or function.

Are you compiling with 0.3c includes or something? Both RemoveBuildingForPlayer and PlayAudioStreamForPlayer were added in 0.3d, DIALOG_STYLE_PASSWORD possibly as well although that isn't documented on the wiki.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)