SA-MP Forums Archive
Samp Chat Bubbles - 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: Samp Chat Bubbles (/showthread.php?tid=573284)



Samp Chat Bubbles - DukeVega - 06.05.2015

Quick Question, (i cant seem to find the Answer on almighty ******)
- I am trying to remove the name tag when players talk, so it just says their speech and does not list the name))

Cant work it out, anyone know how to do this?


Regards,


Dukey <3


Re: Samp Chat Bubbles - Sellize - 06.05.2015

PHP код:
// When the player says something
ShowNameForAll(playeridfalse); // Hide their name
SetPlayerChatBubble(playerid"Hello"0xFF0000FF100.01000); // Set the chat bubble
// Now you should set a timer, to re-show their name


// ShowNameForAll function
ShowNameForAll(playeridbool:x){
    for(new 
0MAX_PLAYERSi++){
        if(
IsPlayerConnected(i)){ ShowPlayerNameTagForPlayer(iplayeridx);
    }




Re: Samp Chat Bubbles - DukeVega - 06.05.2015

Thanks ill give it a go, +rep