UpdateDynamic3DTextLabelText not working
#1

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?

PHP код:
//onplayerconnect
CharacterNameTag[playerid] = Create3DTextLabel("Loading Character Name"0xFFFFFFFF0.00.00.1NT_DISTANCE01);
    
Attach3DTextLabelToPlayer(CharacterNameTag[playerid], playerid0.00.00.3);
// character selection
UpdateDynamic3DTextLabelText(CharacterNameTag[playerid], 0xFFFFFFFFCharacterName[playerid]); 
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
Код:
UpdateDynamic3DTextLabelText
Reply
#2

This bruv...

PHP код:
new Text3D:CharacterNameTag[MAX_PLAYERS]; 
OnGamemodeInit
PHP код:
SetTimer("UpdateDynamic3DTextLabelText"500true); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)