06.04.2014, 12:00
You could just use SetPlayerChatBubble function, works similar to 3D text label but only appear for the other player and time to display can be set. But you can't change the position of the bubble and only one can be shown at a time, for reference,
Change the commented parameter with any time you want (in millisecond).
Example, a 3 seconds chat bubble:
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerChatBubble(playerid, "Hello, I am new here!", 0x008080FF, 70.0, /* expire time here */);
return 1;
}
Example, a 3 seconds chat bubble:
pawn Код:
SetPlayerChatBubble(playerid, "Hello, I am new here!", 0x008080FF, 70.0, 3000);