Tag mismatches - 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: Tag mismatches (
/showthread.php?tid=102862)
Tag mismatches -
thuron - 17.10.2009
Why do i get a tag mismatch on each of these lines?
Код:
new file:mefile=fopen("file.txt",io_read);
Код:
fread(mefile,tmp2,sizeof(tmp2));
Код:
new shownum = floatstr(tmp2)+0.005;
i got tmp2 defined:
does anyone know how to get these tag mismatches away?
Re: Tag mismatches -
dice7 - 17.10.2009
new
file:mefile=fopen("file.txt",io_read);
Re: Tag mismatches -
thuron - 17.10.2009
?.. no changes?
Re: Tag mismatches -
woot - 17.10.2009
File != file
Re: Tag mismatches -
thuron - 17.10.2009
new File !=mefile=fopen("file.txt",io_read);

wont work. and no capital
Re: Tag mismatches -
Correlli - 17.10.2009
You don't get it.
This is yours (wrong):
pawn Код:
new file:mefile=fopen("file.txt",io_read);
And this is how it should be:
pawn Код:
new File:mefile=fopen("file.txt",io_read);
f is not
F.
Re: Tag mismatches -
MenaceX^ - 17.10.2009
Quote:
Originally Posted by thuron
new File !=economyfile=fopen("Economy.txt",io_read);  wont work. and no capital
|
You misunderstood what he said. He didn't mean that you should do !=, he meant that File is not file (not equal = !=).
pawn Код:
new File:mefile=fopen("file.txt",io_read);
Re: Tag mismatches -
thuron - 18.10.2009
ok, ty. got only 1 more now. on this line:
Код:
new shownum = floatstr(tmp2)+0.005;
Re: Tag mismatches -
Correlli - 18.10.2009
Define shownum as float:
pawn Код:
new Float:shownum = floatstr(tmp2)+0.005;
Re: Tag mismatches -
thuron - 18.10.2009
ah, many thankys to y'all