Hide 3d text labels?
#1

how can i hide 3d text labels for players above there head?

similar to..
ShowPlayerNameTagForPlayer(playerid, (playerid of being hidden), false);
Reply
#2

Please describe this better.

https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel creates an label for ONE player, you could just remove it? not sure what u mean.
Reply
#3

When a player connects, it creates the label, When they spawn, it attachs then updates the label and palces it above there head for other players to see.

Now pretend your making a movie, you dont want to see there name or label, you disable name, but you can still see there label, I want to be able to disable the label for One person (aka the person recording), While other players can still see it
Reply
#4

Anybody know?
Reply
#5

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

?
Reply
#6

Quote:
Originally Posted by Retardedwolf
View Post
Then other people wouldnt see it.. i want to disable for 1 person
Reply
#7

You cannot hide the label for 1 player. You can remove the label all together, but not hide it. Why don't you remove the labels for awhile and use the regular labels. You can toggle them by pressing F7.
Reply
#8

You can simply hide them by updating the label with no strings. It's maybe chances of crash.
Reply
#9

How about making your own function for it? I'm sure it wont be hard.
Reply
#10

u can try this, i hope it will help u:
__________________________________________________ ______________
new hidechat[MAX_PLAYERS];
new to_others[MAX_CHATBUBBLE_LENGTH+1];
format(to_others,MAX_CHATBUBBLE_LENGTH,"Says: %s",text);
SetPlayerChatBubble(playerid,to_others,MESSAGE_COL OR,35.0,10000);
__________________________________________________ ______________

if (strcmp("/hidechat", cmdtext, true) == 0)
{
hidechat[playerid] == 1
}

if (strcmp("/unhidechat", cmdtext, true) == 0)
{
hidechat[playerid] == 0
}

if( hidechat[playerid] == 1)
{
SetPlayerChatBubble(playerid,to_others,MESSAGE_COL OR,0,0); // its important to add at the end two zero's
} else SetPlayerChatBubble(playerid,to_others,MESSAGE_COL OR,35.0,10000);
__________________________________________________ _______
i think u know the rest
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)