SA-MP Forums Archive
SetPlayerChatBubble question. - 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)
+--- Thread: SetPlayerChatBubble question. (/showthread.php?tid=637176)



SetPlayerChatBubble question. - Omirrow - 10.07.2017

Hey there,

Is it possible to use SetPlayerChatBubble for only a player? Is there anything like SetPlayerChatBubbleForPlayer ? If not, then I'll need to use 3DTextLabels.


Re: SetPlayerChatBubble question. - JasonRiggs - 10.07.2017

What system are you trying to create tell us to help you with what you should use..


Re: SetPlayerChatBubble question. - NaS - 10.07.2017

Nope, chat bubbles are always visible for anyone. As you already suggested, you must use 3D Text Label for that.


Re: SetPlayerChatBubble question. - Omirrow - 10.07.2017

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
What system are you trying to create tell us to help you with what you should use..
I want a player's variable to show above him when another player aims at him (with GetPlayerTarget) but ONLY for him, not for any player near him.


Re: SetPlayerChatBubble question. - JasonRiggs - 10.07.2017

Quote:
Originally Posted by Omirrow
Посмотреть сообщение
I want a player's variable to show above him when another player aims at him (with GetPlayerTarget) but ONLY for him, not for any player near him.
Then go ahead using textdraws..


Re: SetPlayerChatBubble question. - OneDay - 10.07.2017

YSF plugin can do it .


Re: SetPlayerChatBubble question. - Sew_Sumi - 10.07.2017

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
Then go ahead using textdraws..
3DTextLabels... Not textdraws.


Re: SetPlayerChatBubble question. - Omirrow - 10.07.2017

Quote:
Originally Posted by OneDay
Посмотреть сообщение
YSF plugin can do it .
How can I use it? I'll give it a look.

EDIT:

native SetPlayerChatBubbleForPlayer(forplayerid, playerid, const text[], color, Float:drawdistance, expiretime);
https://sampforum.blast.hk/showthread.php?tid=513499

Thanks, I didn't know there was something like that.


Re: SetPlayerChatBubble question. - Paulice - 11.07.2017

You'd be wanting to use 3DTextLabels to begin with as SetPlayerChatBubble does not have the testLOS parameter and furthermore, does not have the feature natively integrated.