ChatBubble Help..
#1

Hello,
If Somebody is mute i have this:
Код:
SetPlayerChatBubble(playerid, "Iam Muted", COLOR_WHITE, 50.0, 5000);
But how can i make That The Text Stands Forever and not for 5 seconds?
Reply
#2

But if player is not muted anymore, the text will still be there?
Reply
#3

Quote:
Originally Posted by MadeMan
But if player is not muted anymore, the text will still be there?
no i now have:

Код:
  if(UserStats[playerid][pMuted])
	{
	  SendClientMessage(playerid, COLOR_RED, "You cannot speak, you've been muted!");
  	SetPlayerChatBubble(playerid, "Iam Muted", COLOR_WHITE, 50.0, 5000);
	  return 0;
	}
But now if somebody is muted i see the ChatBubble 5 seconds..
I need to see it till he got a unmute
Reply
#4

You can set a really long expiry time

Like: SetPlayerChatBubble(playerid, "Iam Muted", COLOR_WHITE, 50.0, 5000);

5000 Miliseconds = 5 seconds. So increase that to what you prefer

You can do like: SetPlayerChatBubble(playerid, "Say Something", COLOR_WHITE, 50.0, 5000);

In your unmute command to cancel "Iam Muted"
Reply
#5

Quote:
Originally Posted by BMUK
You can set a really long expiry time

Like: SetPlayerChatBubble(playerid, "Iam Muted", COLOR_WHITE, 50.0, 5000);

5000 Miliseconds = 5 seconds. So increase that to what you prefer

You can do like: SetPlayerChatBubble(playerid, "Say Something", COLOR_WHITE, 50.0, 5000);

In your unmute command to cancel "Iam Muted"
ok thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)