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=451169)



tag mismatch - Sanady - 16.07.2013

Hello everybody I have problem with that error which is in title code is here :

pawn Код:
GangZones[i][label] = Create3DTextLabel(string,0xFFFFFFFF,GangZones[i][CP][0],GangZones[i][CP][1],GangZones[i][CP][2], 20.0, 0, 0);



Re: tag mismatch - SwisherSweet - 16.07.2013

Your creating a 3d textlabel for a string how does that work?


Re: tag mismatch - dominik523 - 16.07.2013

this is example of creating 3d text labels with strings:
Код:
	format(string, sizeof(string), "Packages Dropoff\n{FFFF00}/deliverpackages to deliver crates\nAvailable Products: %d/10000", Products);
	ProductsText = CreateDynamic3DTextLabel(string, COLOR_RED, 2222.5107,-2682.7368,13.5409, 30);



Re: tag mismatch - Sanady - 16.07.2013

Quote:
Originally Posted by Avenger™
Посмотреть сообщение
Your creating a 3d textlabel for a string how does that work?
Lol I get it I know where is problem thanks


Re: tag mismatch - SwisherSweet - 16.07.2013

Quote:
Originally Posted by dominik523
Посмотреть сообщение
this is example of creating 3d text labels with strings:
Код:
	format(string, sizeof(string), "Packages Dropoff\n{FFFF00}/deliverpackages to deliver crates\nAvailable Products: %d/10000", Products);
	ProductsText = CreateDynamic3DTextLabel(string, COLOR_RED, 2222.5107,-2682.7368,13.5409, 30);
Read my first post, you can't create a 3d textlabel for a string olny for playerid or i if your looping