Nick names over the heads of the player
#1

Hello. I would like to do over the heads of players showed up player nickname, but I made that, as I leave the interior is still a nickname will be visible to all. Please help me
Reply
#2

do you mean a custom 3Dtext label?
Reply
#3

What do you mean?

Do you mean you want to turn of player names above there heads?
If so then:

https://sampwiki.blast.hk/wiki/ShowNameTags

Put: ShowNameTags(0);

Under OnGameModeInit/OnFilterScriptInit
Reply
#4

so he wants to do in Create3DTextLabel, could someone explain to me how well you do it?
Reply
#5

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer there is an example in the page.
Reply
#6

but how did the creation and OnPlayerSpawn Attach the nicknames I OnPlayerUpdate is blinking or not to show: (
Reply
#7

Sorry, I didn't understand what u mean.Can you give more info?
Reply
#8

Nicki wants to do over the heads of players on my server RP. I create the OnPlayerSpawn Create3dTextLabel then do OnPlayerUpdate Attach and flash my nicknames, or do not show. How do I fix this?
Reply
#9

Post the code if you'd like proper help.

Something like that?
pawn Код:
new
    Text3D:PlayerLabel[ MAX_PLAYERS ];
   
public OnPlayerSpawn(playerid)
{
    Delete3DTextLabel(PlayerLabel[playerid]);
    PlayerLabel[playerid] = Create3DTextLabel(PlayerName(playerid), 0x008080FF, 0.0, 0.0, 0.0 , 40.0, GetPlayerVirtualWorld(playerid), 0);
    Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 1.0);
    return 1;
}
Reply
#10

No,

Lol, He has RP gamemode,
And he wants player names above there heads,
so in OnGameModeInit he puts ShowNameTags(1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)