01.12.2009, 17:53
Should I create a 3DTextLabel attacked over the player, but I have a problem: the 3DTextLabel not seen, seems not to be created here is the code:
Could you help me? Thank you.
Код:
new string[256]; new Text3D: Money[50]; new Float:X, Float:Y,Float:Z; format(string, sizeof(string), "Soldi: $%d", PlayerInfo[playerid][pMoney]); Money[playerid] = Create3DTextLabel(string, COLOR_RED, 0,0,0, 40.0, 0, 1); GetPlayerPos(playerid, X, Y, Z); Attach3DTextLabelToPlayer(Money[playerid], playerid, X, Y, Z+0.3);