Help Please
#1

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

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

EDIT: Hal is right.
Reply
#4

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...
Reply
#5

the x y z values should be floats not intgers
Reply
#6

Forgot to reply back To Hal, but yes that does work right. thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)