Tag Mismatch?
#1

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
Reply
#2

+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
Reply
#3

That's because the array needs to be defined as a Text3D type variable.

pawn Код:
new Text3D:VehicleText[GENERAL_MAX_VEHICLES];
Reply
#4

Hit me. Please just hit me.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)