ChatBubble Help.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ChatBubble Help.. (
/showthread.php?tid=118487)
ChatBubble Help.. -
GforceNL - 03.01.2010
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?
Re: ChatBubble Help.. -
MadeMan - 03.01.2010
But if player is not muted anymore, the text will still be there?
Re: ChatBubble Help.. -
GforceNL - 03.01.2010
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
Re: ChatBubble Help.. -
BMUK - 03.01.2010
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"
Re: ChatBubble Help.. -
GforceNL - 03.01.2010
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