19.07.2010, 10:06
How can i make the text appear over their head if someone speaks,
like this.
Thank you.
like this.
Thank you.
format(string, sizeof(string),"%s",text);
SetPlayerChatBubble(playerid,string, COLOR_WHITE, 17.0, 5000);
public OnPlayerText(playerid, text[]) { new giver[MAX_PLAYER_NAME]; new sendername[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new tmp[256]; new string[256]; new giveplayerid; new str[160]; GetPlayerName(playerid, str, MAX_PLAYER_NAME); for (new i = 0; i < MAX_PLAYER_NAME; i++) if (str[i] == '_') str[i] = ' '; if(PlayerInfo[playerid][pMuted] == 1)
public OnPlayerText(playerid, text[]) { new giver[MAX_PLAYER_NAME]; new sendername[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new tmp[256]; new string[256]; new giveplayerid; new str[160]; format(string, sizeof(string),"%s",text); SetPlayerChatBubble(playerid,string, COLOR_WHITE, 17.0, 3000); GetPlayerName(playerid, str, MAX_PLAYER_NAME);