SA-MP Forums Archive
Problem with Create3dlabel - 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: Problem with Create3dlabel (/showthread.php?tid=253943)



Problem with Create3dlabel - Bates - 08.05.2011

Hi!

I want 3d labels to show up at my houses. However, for some reason i get the tag mismatch warning.

pawn Код:
format(string, sizeof(string), "%s\n[FOR SALE!]", Houses[id][hRoadName]);
Houses[id][H3dID] = Create3DTextLabel(string, COLOR_LIGHTGREEN, Houses[id][hExteriorX], Houses[id][hExteriorY], Houses[id][hExteriorZ], 20.0, 0, 0);
printf( "[system] Added 3d label to %d.", id);

The middle row is the one i get the warning on.


Re: Problem with Create3dlabel - MadeMan - 08.05.2011

In your Houses enum

pawn Код:
Text3D:H3dID



Re: Problem with Create3dlabel - Bates - 08.05.2011

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
In your Houses enum

pawn Код:
Text3D:H3dID
Thanks! Didn't know you had to do Text3D infront of it