Probem with Dynamic3DLabels
#1

pawn Код:
new string[256];
format(string,sizeof(string),"OBJ: ID:%d Name:%s Int:%d \n X:%0.2f  Y:%0.2f  Z:%0.2f \n RX:%0.2f  RY:%0.2f RZ:%0.2f \n Flag1: %d Flag2: %d",
gObj[i][oID],gObj[i][oName],gObj[i][oInt],gObj[i][oX],gObj[i][oY],gObj[i][oZ],
gObj[i][oRX],gObj[i][oRY],gObj[i][oRZ],gObj[i][oFlag],gObj[i][oFlag2]);
Objects[i] = CreateDynamic3DTextLabel(string,COLOR_SAMP,gObj[i][oX],gObj[i][oY],gObj[i][oZ],500.0,-1,-1,0,-1,-1,-1,100.0);
print(string);
Prob is that 3DLabels all are in 0 0 0 coords, but in print and in format its shows gObj[i][oX],gObj[i][oY],gObj[i][oZ] correct, but when I use same Coords for 3DL pos its sets to 0, did I made something wrong or Streamer by Incognito have bug?
Reply
#2

Silly question but did you declare Objects[i] as 3dtext? ie,
pawn Код:
new Text3D:Objects[MAX_PLAYERS];
Reply
#3

Yeah^^
pawn Код:
new Text3D:Objects[4313]; //my ammount

Damn, its bug in Streamer, because with Pawno Built-in 3D labels its works fine
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)