Id 3d text
#6

From what im reading and if im reading it correctly you mean somethingm ore like this??

Код:
new result[128];
new number[MAX_PLAYERS] = playerid; // at this part im trying to get the playerid , so doing this since                    playerid is a variable it should print the id correctly????
format(result,sizeof(result), "%i.",number); 
new Text3D:PlayerLabel[MAX_PLAYERS];
PlayerLabel = Create3DTextLabel(result, 0xFFFFFFAA, 10.0, 20.0, 40.0, 20.0, 0);
Attach3DTextLabelToPlayer(PlayerLabel, playerid, 0.0, 0.0, 0.7);
trying to compile i got these errors

DM.pwn(76) : error 008: must be a constant expression; assumed zero
DM.pwn(79) : error 033: array must be indexed (variable "PlayerLabel")
DM.pwn(80) : error 035: argument type mismatch (argument 1)
Reply


Messages In This Thread
Id 3d text - by daminOwens - 26.02.2014, 14:51
Re: Id 3d text - by daminOwens - 26.02.2014, 16:18
Respuesta: Id 3d text - by CuervO - 26.02.2014, 16:22
Re: Id 3d text - by daminOwens - 26.02.2014, 16:55
Respuesta: Id 3d text - by CuervO - 26.02.2014, 17:01
Re: Id 3d text - by daminOwens - 26.02.2014, 17:28
Respuesta: Id 3d text - by CuervO - 26.02.2014, 17:33
Re: Id 3d text - by daminOwens - 26.02.2014, 17:34
Respuesta: Id 3d text - by CuervO - 26.02.2014, 17:36

Forum Jump:


Users browsing this thread: 2 Guest(s)