SA-MP Forums Archive
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)
+--- Thread: Tag mismatch? (/showthread.php?tid=409665)



Tag mismatch? - Cheesus - 22.01.2013

Hey whats wrong with this code? i get error:
Код:
warning 213: tag mismatch
Код:
HouseText[houseid] = CreateDynamic3DTextLabel(string, c_y, iconX, iconY, iconZ, 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 20.0);
+rep for the one who helped me


Re: Tag mismatch? - [XST]O_x - 22.01.2013

Show us where you defined the HouseText variable.


Re: Tag mismatch? - Cheesus - 22.01.2013

Код:
new HousePickup[MAX_HOUSES];
new HouseText[MAX_HOUSES];
new HouseMap[MAX_HOUSES];



Re: Tag mismatch? - Jeffry - 22.01.2013

pawn Код:
new HousePickup[MAX_HOUSES];
new Text3D:HouseText[MAX_HOUSES];
new HouseMap[MAX_HOUSES];



Re: Tag mismatch? - [XST]O_x - 22.01.2013

pawn Код:
new Text3D: HouseText[MAX_HOUSES];
Should fix your warning.


Re: Tag mismatch? - Cheesus - 22.01.2013

Oh ofcrouse... forgot about that haha
thank you very much!