SA-MP Forums Archive
Chat Bubble 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Chat Bubble question (/showthread.php?tid=275033)



Chat Bubble question - tanush - 08.08.2011

Well i used chat bubble for players in jail that it shows Player Jailed on top, if they get unjailed how can i remove chat bubble. i tryed doing SetPlayerChatBubble(playerid,"Player Jailed",0xFF680DFF,100.0,1000); and it was still showing player jailed on top of their name


Re: Chat Bubble question - iJumbo - 08.08.2011

what you use for set it ..


Re: Chat Bubble question - Godhimself - 08.08.2011

Just show a GameText with there jailtime? like:

pawn Код:
format(string, sizeof(string), "~r~Jailtime:~n~~g~%d", jailtime);
GameTextForPlayer(playerid, string, 3000, 5);
Well thats all i do..Reply if you dont know how to make a specific time decrease and i will code it up for you.


Re: Chat Bubble question - Kayaque - 08.08.2011

Use 3dtext instead. In that way you can simply kill the 3dtext when the prisoner is out of jail. I believe the chatbubble is used with a included timer only.


Re: Chat Bubble question - iPLEOMAX - 08.08.2011

When he get's out of the jail/exits, Use SetPlayerChatBubble(playerid, " ", 0xFF0000FF, 100.0, 1000); to clear it.


Re: Chat Bubble question - tanush - 08.08.2011

how can i make the 3dtext over their head?