SA-MP Forums Archive
Is possible to add SetPlayerChatBubble for npcs?? - 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: Is possible to add SetPlayerChatBubble for npcs?? (/showthread.php?tid=99551)



Is possible to add SetPlayerChatBubble for npcs?? - yugokoral - 28.09.2009

Is possible to make When npc say something that script will make SetPlayerChatBubble above the npc?

thank you


Re: Is possible to add SetPlayerChatBubble for npcs?? - AcId n RaPiD - 28.09.2009

Yes it is possible.


Re: Is possible to add SetPlayerChatBubble for npcs?? - yugokoral - 28.09.2009

I tried add this on npc mode but it says an error undefined symbol SetPlayerChatBubble and i include a_samp. While SetPlayerChatBubble in normal filterscript works normal :S


Re: Is possible to add SetPlayerChatBubble for npcs?? - dugi - 28.09.2009

It's because you cant look for information properly. Normal sa-mp functions CAN NOT be used inside the NPC scripts. Only the functions posted here: https://sampwiki.blast.hk/wiki/Category:NPC can be used there. Search next time as it has been answered many times.


Re: Is possible to add SetPlayerChatBubble for npcs?? - yugokoral - 28.09.2009

YES I KNOW THIS. But people there said thats possible to do that, so thats a reason why i was asking!



Re: Is possible to add SetPlayerChatBubble for npcs?? - Brendan_Thomson - 28.09.2009

Have them SendChat in the NPC Mode and OnPlayertext you can do SetPlayerChatBubble.

Done.