03.05.2018, 11:55
(
Последний раз редактировалось jasperschellekens; 03.05.2018 в 12:33.
)
Hello, Im creating a custom playername label so that it does display the character name instead of username.
This is my code:
UpdateDynamic3DTextLabelText is not working. Every character walks around with Loading Character Name..
What am i doing wrong?
CharacterName[playerid] holds the correct value. The problem is that the string is not updating somehow.
What am i doing wrong?
Edit:
sometimes im an idiot lol
This is my code:
UpdateDynamic3DTextLabelText is not working. Every character walks around with Loading Character Name..
What am i doing wrong?
PHP код:
//onplayerconnect
CharacterNameTag[playerid] = Create3DTextLabel("Loading Character Name", 0xFFFFFFFF, 0.0, 0.0, 0.1, NT_DISTANCE, 0, 1);
Attach3DTextLabelToPlayer(CharacterNameTag[playerid], playerid, 0.0, 0.0, 0.3);
// character selection
UpdateDynamic3DTextLabelText(CharacterNameTag[playerid], 0xFFFFFFFF, CharacterName[playerid]);
What am i doing wrong?
Edit:
sometimes im an idiot lol
Код:
UpdateDynamic3DTextLabelText