SA-MP Forums Archive
help! error 001: expected token: "-string end-", but found "-identifier-" - 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: help! error 001: expected token: "-string end-", but found "-identifier-" (/showthread.php?tid=435446)



help! error 001: expected token: "-string end-", but found "-identifier-" - loquendo191 - 06.05.2013

Код:
	new File:file[25];
	format(file,sizeof(file),"/ladmin/users/%s.sav",udb_encode(PlayerName2(playerid)) );
errors:

Quote:

C:\Documents and Settings\Oscar Montes\Escritorio\SERVERS\SERVER3\gamemodes\proyec tGM\tdb8.8v.pwn(14777) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Oscar Montes\Escritorio\SERVERS\SERVER3\gamemodes\proyec tGM\tdb8.8v.pwn(1477 : error 017: undefined symbol "file"
C:\Documents and Settings\Oscar Montes\Escritorio\SERVERS\SERVER3\gamemodes\proyec tGM\tdb8.8v.pwn(1477 : error 017: undefined symbol "file"
C:\Documents and Settings\Oscar Montes\Escritorio\SERVERS\SERVER3\gamemodes\proyec tGM\tdb8.8v.pwn(1477 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Oscar Montes\Escritorio\SERVERS\SERVER3\gamemodes\proyec tGM\tdb8.8v.pwn(1477 : fatal error 107: too many error messages on one line

Other problem, why these warinings??

Quote:

.\include\sscanf2.inc(21 : warning 218: old style prototypes used with optional semicolumns
.\include\sscanf2.inc(27 : warning 218: old style prototypes used with optional semicolumns

thanks


Re: help! error 001: expected token: "-string end-", but found "-identifier-" - Goldilox - 07.05.2013

new file[25];

That might help and can you tell me what line is 14777 again?


Respuesta: help! error 001: expected token: "-string end-", but found "-identifier-" - loquendo191 - 07.05.2013

Problem fixed thanks you!!
+ rep