SetPlayerChatBubble Not working! - 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 Not working! (
/showthread.php?tid=312978)
SetPlayerChatBubble Not working! -
Amine_Mejrhirrou - 23.01.2012
that's my problem, in my game mode i'm using SetPlayerChatBubble when a player is chating and when a player spawn , When the player is chating there is no problem but when a player spawn i don't see the text ! this is the script i'm using
Код:
SetPlayerChatBubble(playerid, "Anti-Spawnkill ON", GREEN, 100.0, 5000);
can someone explain me where the problem came from ?
Re: SetPlayerChatBubble Not working! -
Konstantinos - 23.01.2012
SetPlayerChatBubble creates a chat bubble above a player's name tag. But is used only to show a text that player send ( OnPlayerText, or in command like /me ).
pawn Код:
public OnPlayerSpawn( playerid )
{
new
Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
CreatePlayer3DTextLabel( playerid, "Anti-Spawnkill ON", GREEN, X, Y, Z, 100.0 );
return 1;
}
Re : SetPlayerChatBubble Not working! -
Amine_Mejrhirrou - 23.01.2012
rep++ thnks