Array Error: "Tag Mismatch" - 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: Array Error: "Tag Mismatch" (
/showthread.php?tid=200349)
[Solved] Array Error: "Tag Mismatch" -
VirSpectorX - 18.12.2010
Hello, I have a problem here. Look at my code:
pawn Код:
new GangzoneCheckpoint[6][3] = {
{2387.6262,-568.8369,116.3413},
{2551.2236,-776.4802,92.7190},
{2349.8789,2.9055,26.4844},
{1945.2312,-292.3209,6.4530},
{1561.5045,-447.8862,41.4037},
{1873.6405,-57.7272,-0.5450}
};
And it gives me an error saying
Tag Mismatch which in every line (Starts from {2387.6262,-568.8369,116.3413}, to {1873.6405,-57.7272,-0.5450}) has 3 of this error.
Can you tell me what's wrong? Yes, i'm never make an array before...
Re: Array Error: "Tag Mismatch" -
VirSpectorX - 18.12.2010
Anybody
Re: Array Error: "Tag Mismatch" -
armyoftwo - 18.12.2010
pawn Код:
new Float:GangzoneCheckpoint[6][3] = {
{2387.6262,-568.8369,116.3413},
{2551.2236,-776.4802,92.7190},
{2349.8789,2.9055,26.4844},
{1945.2312,-292.3209,6.4530},
{1561.5045,-447.8862,41.4037},
{1873.6405,-57.7272,-0.5450}
};
Here you go, should work
Re: Array Error: "Tag Mismatch" -
VirSpectorX - 18.12.2010
Quote:
Originally Posted by armyoftwo
pawn Код:
new Float:GangzoneCheckpoint[6][3] = { {2387.6262,-568.8369,116.3413}, {2551.2236,-776.4802,92.7190}, {2349.8789,2.9055,26.4844}, {1945.2312,-292.3209,6.4530}, {1561.5045,-447.8862,41.4037}, {1873.6405,-57.7272,-0.5450} };
Here you go, should work
|
Thanks!