SA-MP Forums Archive
too many errors on one line - 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)
+--- Thread: too many errors on one line (/showthread.php?tid=600611)



too many errors on one line - hardiksingh5 - 10.02.2016

C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\pl3.pwn(686) : error 021: symbol already defined: "unformat"
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\pl3.pwn(9375) : error 075: input line too long (after substitutions)
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\pl3.pwn(9376) : error 037: invalid string (possibly non-terminated string)
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\pl3.pwn(9376) : error 017: undefined symbol "UPDATE"
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\pl3.pwn(9376) : error 017: undefined symbol "users"
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\pl3.pwn(9376) : fatal error 107: too many error messages on one line

My code
format(query,sizeof(query),"UPDATE users SET beaglef='%d',cropdusterf='%d',hydraf='%d',nevadaf= '%d',rustlerf='%d',cargobobf='%d',hunterf='%d',lev iathanf='%d',maverickf='%d',nmaverickf='%d',pmaver ickf='%d',raindancef='%d',seasparrowf='%d',sparrow f='%d',earntfromworking='%d',flightscompleted='%d' ,callsign='%s',callsignset='%d',emailaddress='%s', airline='%d',airlinerank='%d',earntforairline='%d' ,house1='%d',house2='%d',flowndistance='%d',airlin eflights='%d',vip='%d',vipcolour='%s' WHERE username = '%s'",



line 686
native unformat(const data[], const format[], {Float,_}:...) = sscanf;


Re: too many errors on one line - Crayder - 10.02.2016

About line 686, it's already defined. You probably don't need that line at all, just remove it.

About 9375 (&9376), show us the code around that. You obviously have the code formatting wrong, but we can't see it to show you what you did wrong.