12.12.2009, 00:32
Hi, what is wrong with this?
new Text3D: Label_Level[MAX_PLAYERS];
onplayerconnect
Label_Level[playerid]=INVALID_3DTEXT_ID;
onplayerdisconnect
Delete3DTextLabel(Label_Level[playerid]);
Login Command:
new Float
,Float:y,
GetPlayerPos(playerid,x,y,z);
Label_Level[playerid]=Create3DTextLabel(str, GetPlayerColor(playerid), x, y, z+3,40,0,1);
Attach3DTextLabelToPlayer(Label_Level[playerid], playerid, 0, 0, 0, 0);
Onplayerupdate
Update3DTextLabelText(Label_Level[playerid],GetPlayerColor(playerid),str2);
it compile but I can't see anything, and my friends too.. Can someone help me please? I want something like.. when you are logged in then 3DText needs to appear above your nick.
new Text3D: Label_Level[MAX_PLAYERS];
onplayerconnect
Label_Level[playerid]=INVALID_3DTEXT_ID;
onplayerdisconnect
Delete3DTextLabel(Label_Level[playerid]);
Login Command:
new Float

GetPlayerPos(playerid,x,y,z);
Label_Level[playerid]=Create3DTextLabel(str, GetPlayerColor(playerid), x, y, z+3,40,0,1);
Attach3DTextLabelToPlayer(Label_Level[playerid], playerid, 0, 0, 0, 0);
Onplayerupdate
Update3DTextLabelText(Label_Level[playerid],GetPlayerColor(playerid),str2);
it compile but I can't see anything, and my friends too.. Can someone help me please? I want something like.. when you are logged in then 3DText needs to appear above your nick.