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: Tag Mismatch? (
/showthread.php?tid=195397)
Tag Mismatch? -
Ash. - 02.12.2010
Hi all,
Ive just been trying to fix a bug in one of my vehicle systems, and this tag mismatch cropped up on the following line:
pawn Код:
VehicleText[vid] = CreateDynamic3DTextLabel(string, COLOUR, dini_Float(file, "x"), dini_Float(file, "y"), dini_Float(file, "z"), 10.0, -1, ControlledVehicles[vid], 0, -1, -1, -1, 100.0);
Im using Incognitos Streamer (Why its CreateDynamic3DTextLabel) - I just cannot seem to see the 'mismatch' - I have even added ALL the optional parameters (at their default setting, apart from my attached vehicle) - Can anyone see the error?
Thanks
Ash
Re: Tag Mismatch? -
Ash. - 02.12.2010
+Bump+
Any ideas? - Ive even tried taking CreateDynamic3DText out all together, and replacing it with strlen(params) (For no reason, just to see if the array was working) but i still get the tag mismatch... - Which leads me to believe its something to do with the array.
Heres the array define...
pawn Код:
VehicleText[GENERAL_MAX_VEHICLES];
//GENERAL_MAX_VEHICLES is 500
Re: Tag Mismatch? -
JaTochNietDan - 02.12.2010
That's because the array needs to be defined as a Text3D type variable.
pawn Код:
new Text3D:VehicleText[GENERAL_MAX_VEHICLES];
Re: Tag Mismatch? -
Ash. - 02.12.2010
Hit me. Please just hit me.
Thanks alot

- How could i make such a STUPID mistake - Thanks alot