Help Please - 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: Help Please (
/showthread.php?tid=188522)
Help Please -
Tim_Ethen - 07.11.2010
I Get These Warnings...
Quote:
***.pwn(151) : warning 213: tag mismatch
***.pwn(152) : warning 213: tag mismatch
|
Segment Of Code Outputting These Warnings...
pawn Код:
hLabel1[hid] = Create3DTextLabel(out1, white, hPickupX[hid], hPickupY[hid], hPickupZ[hid] + 1.25, 25, 0, 2);
hLabel2[hid] = Create3DTextLabel(out2, white, hPickupX[hid], hPickupY[hid], hPickupZ[hid] + 0.75, 25, 0, 2);
Varibles Involved...
pawn Код:
#define MAX_HOUSES 200
new Float:hPickupX[MAX_HOUSES];
new Float:hPickupY[MAX_HOUSES];
new Float:hPickupZ[MAX_HOUSES];
new hLabel1[MAX_HOUSES];
new hLabel2[MAX_HOUSES];
If I Remove hLabel1[hid] & hLabel2[hid] I Get No Warnings, But I Need The ID's For Code Later On.
Re: Help Please -
Hal - 07.11.2010
pawn Код:
new Text3D:hLabel1[MAX_HOUSES];
new Text3D:hLabel2[MAX_HOUSES];
try that. But when you use hLabel, you are not required to put Text3D infront
Re: Help Please -
Th3Angel - 07.11.2010
EDIT: Hal is right.
Re: Help Please -
Hal - 08.11.2010
Quote:
Originally Posted by Th3Angel
EDIT: Hal is right.
|
I am sure of this, and if not there are more suggestions I have. I have done SO many 3D labels that scripting them got annoying...
Re: Help Please -
(SF)Noobanatior - 08.11.2010
the x y z values should be floats not intgers
Re: Help Please -
Tim_Ethen - 08.11.2010
Forgot to reply back To Hal, but yes that does work right. thanks.