SA-MP Forums Archive
[HELP] Error (Expected Token) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Error (Expected Token) (/showthread.php?tid=136684)



[HELP] Error (Expected Token) - MahmutBey - 26.03.2010

Код:
...\testing.pwn(582) : error 001: expected token: ";", but found "-identifier-"
582 Line

Код:
	if(dialogid == fYAS)
	{
    if(KayitAsamasi[playerid] == 3)
    {

                new tmpage = strval(inputtext)
				KayitAsamasi[playerid] = 0;
			  	EgitimSuresi[playerid] = 1;
				PlayerInfo[playerid][fYas] = tmpage;
				return 0;

		}
	}



Re: [HELP] Error (Expected Token) - Flake. - 26.03.2010

Try this

pawn Код:
if(dialogid == fYAS);
    {
    if(KayitAsamasi[playerid] == 3);
    {

                new tmpage = strval(inputtext);
                KayitAsamasi[playerid] = 0;
                EgitimSuresi[playerid] = 1;
                PlayerInfo[playerid][fYas] = tmpage;
                return 0;

        }
    }



Re: [HELP] Error (Expected Token) - woot - 26.03.2010

new tmpage = strval(inputtext);


Re: [HELP] Error (Expected Token) - Flake. - 26.03.2010

Quote:
Originally Posted by //exora
new tmpage = strval(inputtext);
what he said