SA-MP Forums Archive
I verry need help fast! - 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: I verry need help fast! (/showthread.php?tid=151927)



I verry need help fast! - povilaslt2 - 01.06.2010

Hello all, i need help because i getting error when i compiling:

Код:
C:\Users\Donatas\Desktop\Samp Serveris\gamemodes\GRPLT.pwn(12469) : error 037: invalid string (possibly non-terminated string)
C:\Users\Donatas\Desktop\Samp Serveris\gamemodes\GRPLT.pwn(12469) : error 017: undefined symbol "INSERT"
C:\Users\Donatas\Desktop\Samp Serveris\gamemodes\GRPLT.pwn(12469) : error 017: undefined symbol "INTO"
C:\Users\Donatas\Desktop\Samp Serveris\gamemodes\GRPLT.pwn(12469) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Here is all line:

Код:
	new string[633];
	format(string,sizeof(string),"INSERT INTO `kitiduomenys`
	(`Vardas`, `Money.Pocket`,`Money.Bank`, `Money.Home`,`Biznis`, `Wanted`, `Car`,`Gang`, `Islead`, `Lead`, `Kalejime`, `Ginklo Licenzija`, `Dirba`, `Specialybe`, `Club`, `Rangas`,`Drabuziai`, `Uniforma`, `Uniformd`, `Xp`, `Lytis`, `Ekstaze`, `Heroinas`, `Zolyte`, `LSD`, `Kokainas`, `Technikine`, `Bakelis`, `Teises`, `MTeises`, `VTeises`, `LTeises`)
	VALUES
	('%s','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i')",
	name,GetPlayerMoneyA(playerid),playerDB[playerid][banke],playerDB[playerid][namuose],playerDB[playerid][biznis],
	GetPlayerWantedLevel(playerid),playerDB[playerid][pcar],gplayerDB[playerid][pgang],gplayerDB[playerid][islead],playerDB[playerid][plead],playerDB[playerid][kalejimo_laikas],
	playerDB[playerid][licenzija],playerDB[playerid][tvarkosdarbai],playerDB[playerid][specialybe],playerDB[playerid][klubas],playerDB[playerid][rangas],
	playerDB[playerid][drabuziai],playerDB[playerid][uniforma],playerDB[playerid][uniformd]);
	mysql_query(string);



Re: I verry need help fast! - MadeMan - 01.06.2010

pawn Код:
new string[633];
    format(string,sizeof(string),"INSERT INTO `kitiduomenys`\
    (`Vardas`, `Money.Pocket`,`Money.Bank`, `Money.Home`,`Biznis`, `Wanted`, `Car`,`Gang`, `Islead`, `Lead`, `Kalejime`, `Ginklo Licenzija`, `Dirba`, `Specialybe`, `Club`, `Rangas`,`Drabuziai`, `Uniforma`, `Uniformd`, `Xp`, `Lytis`, `Ekstaze`, `Heroinas`, `Zolyte`, `LSD`, `Kokainas`, `Technikine`, `Bakelis`, `Teises`, `MTeises`, `VTeises`, `LTeises`)\
    VALUES\
    ('%s','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i','%i')"
,
    name,GetPlayerMoneyA(playerid),playerDB[playerid][banke],playerDB[playerid][namuose],playerDB[playerid][biznis],
    GetPlayerWantedLevel(playerid),playerDB[playerid][pcar],gplayerDB[playerid][pgang],gplayerDB[playerid][islead],playerDB[playerid][plead],playerDB[playerid][kalejimo_laikas],
    playerDB[playerid][licenzija],playerDB[playerid][tvarkosdarbai],playerDB[playerid][specialybe],playerDB[playerid][klubas],playerDB[playerid][rangas],
    playerDB[playerid][drabuziai],playerDB[playerid][uniforma],playerDB[playerid][uniformd]);
    mysql_query(string);



Re: I verry need help fast! - povilaslt2 - 01.06.2010

Don't work..