Errors on MySQL Line
#1

Hey, I'm trying to add a MySQL system to a blank gamemode(making my own).
But its giving me errors on this line:
Код:
	format(Query,sizeof,(Query) "SELECT name FROM playerdata WHERE user='%s'",PlayerName(playerid));
Errors:
Код:
C:\Other Stuff\My SAMP Server\gamemodes\BlankGamemode.pwn(46) : error 020: invalid symbol name ""
C:\Other Stuff\My SAMP Server\gamemodes\BlankGamemode.pwn(46) : warning 215: expression has no effect
C:\Other Stuff\My SAMP Server\gamemodes\BlankGamemode.pwn(46) : error 001: expected token: ";", but found "-string-"
C:\Other Stuff\My SAMP Server\gamemodes\BlankGamemode.pwn(46) : warning 215: expression has no effect
C:\Other Stuff\My SAMP Server\gamemodes\BlankGamemode.pwn(46) : error 001: expected token: ";", but found ")"
C:\Other Stuff\My SAMP Server\gamemodes\BlankGamemode.pwn(46) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply


Messages In This Thread
Errors on MySQL Line - by BleverCastard - 16.02.2012, 13:29
Re: Errors on MySQL Line - by [Diablo] - 16.02.2012, 13:34
Re: Errors on MySQL Line - by BleverCastard - 16.02.2012, 13:35
Re: Errors on MySQL Line - by Mrki_Drakula - 16.02.2012, 13:51
Re: Errors on MySQL Line - by BleverCastard - 16.02.2012, 13:54

Forum Jump:


Users browsing this thread: 1 Guest(s)