SA-MP Forums Archive
Tag mismatch help - 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 mismatch help (/showthread.php?tid=115309)



Tag mismatch help - Guso - 23.12.2009

I'm having a problem with creating new gates, it was taken from a filterscript made by my friend now i took it out and putted it into the gamemode..
I get tag mismatch errors at these lines

Код:
new Float:Gates[4][6] =
{    {2313.8107910156, -1218.1257324219, 23.342107772827, 0, 0, 89.324493408203}, //gate 1 open
		 {2313.8107910156, -1218.1257324219, 20.088232040405, 0, 0, 89.324493408203}, //gate 1 close
		 {2360.8818359375, -1271.8779296875, 23.759103775024, 0, 0, 269.0546875}, //gate 2 open
		 {2360.8818359375, -1271.8779296875, 20.064821243286, 0, 0, 269.0546875} //gate 2 close || 2360.8818359375, -1271.8779296875, 20.064821243286, 0, 0, 269.0546875
};
new impound1,impound2;
Could anybody tell me the problem?


Re: Tag mismatch help - Gamer_Z - 23.12.2009

{2313.8107910156, -1218.1257324219, 23.342107772827, 0, 0, 89.324493408203}, //gate 1 open

u se 0, 0,
make it
0.0 , 0.0,
remember.. Float: needs values with a decimal!


Re: Tag mismatch help - godknightx - 23.12.2009

0 > Integer
0.0 > Float