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(playerid, false); // Hide their name
SetPlayerChatBubble(playerid, "Hello", 0xFF0000FF, 100.0, 1000); // Set the chat bubble
// Now you should set a timer, to re-show their name
// ShowNameForAll function
ShowNameForAll(playerid, bool:x){
for(new i = 0; i < MAX_PLAYERS; i++){
if(IsPlayerConnected(i)){ ShowPlayerNameTagForPlayer(i, playerid, x);
}
}
Re: Samp Chat Bubbles -
DukeVega - 06.05.2015
Thanks ill give it a go, +rep