Jump to content
  • 0

Problema mysql (Erori mai exact)


cristyifrim31O

Question

Problema intalnita (descriere): primesc niste erori la compilare
Ero(area / rile) / warning-(ul / urile): 

C:\Users\Cristian\Desktop\sv\gamemodes\rpg.pwn(296) : error 075: input line too long (after substitutions)
C:\Users\Cristian\Desktop\sv\gamemodes\rpg.pwn(297) : error 037: invalid string (possibly non-terminated string)
C:\Users\Cristian\Desktop\sv\gamemodes\rpg.pwn(297) : error 017: undefined symbol "INSERT"
C:\Users\Cristian\Desktop\sv\gamemodes\rpg.pwn(297) : error 017: undefined symbol "INTO"
C:\Users\Cristian\Desktop\sv\gamemodes\rpg.pwn(297) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.


Liniile de cod / sursa / script-ul(obligatoriu): 

			mysql_format(iHandle, query, sizeof(query), "INSERT INTO accounts (Name, Pass, SPass, IP, Skin, Faction, Rank, Money, Coins, Level,\
				Exp, Vip, License1, License2, License3, License4, License5, Respect, Number, Phone, House, Prop, Clan, Cars, Wanted, Muted,\
				Warned, Banned, Kicked, Jailed, RBanned, Email, Age, Sex, StatTrak, Job, Language, Admin, Helper, SVip, Registered) VALUES ('%s',\
				'%s', 0, '%e', 0, 'None', 0, '%d', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'No', 'No', 'No', 0, 0, 0, 0, 0, 0, 0, 0, 'None', 0, 'Neutru', 0, 'No', '%d',\
				'No', 'No', 'No', 1)", GetName(playerid, inputtext, GetIP(playerid), Data[playerid][Money], Data[playerid][Language]);
				mysql_query(iHandle, query);


Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: dap. 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
19 minutes ago, DaEdRiC-FoX said:

ai include-ul a_mysql??

Da.

Spoiler

KnkYplN.png

Solved. 

  				mysql_format(iHandle, query, sizeof(query), "INSERT INTO accounts (Name, Pass, SPass, IP, Skin, Faction, Rank, Money, Coins, Level,\
				Exp, Vip, License1, License2, License3, License4, License5, Respect, Number, Phone, House, Prop, Clan,");
				mysql_format(iHandle, query, sizeof(query), "Cars, Wanted, Muted,\
				Warned, Banned, Kicked, Jailed, RBanned, Email, Age, Sex, StatTrak, Job, Language, Admin, Helper, SVip, Registered) VALUES ('%s',\
				'%s', 0, '%e', 0, 'None', 0, '%d', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'No', 'No', 'No', 0, 0, 0, 0, 0, 0, 0, 0, 'None', 0, 'Neutru', 0, 'No', '%d',\
				'No', 'No', 'No', 1)", GetName(playerid), inputtext, GetIP(playerid), Data[playerid][iMoney], Data[playerid][iLanguage]);
				mysql_query(iHandle, query);
			            

Dupa ce am citit erorile mai bine, mi-am dat seama ca trebuie impartit in 2 format-uri.

Edited by cristyifrim
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.