Attach3dTextLabelToPlayer (with time)
#2

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,
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerChatBubble(playerid, "Hello, I am new here!", 0x008080FF, 70.0, /* expire time here */);
    return 1;
}
Change the commented parameter with any time you want (in millisecond).
Example, a 3 seconds chat bubble:
pawn Код:
SetPlayerChatBubble(playerid, "Hello, I am new here!", 0x008080FF, 70.0, 3000);
Reply


Messages In This Thread
Attach3dTextLabelToPlayer (with time) - by Nucky - 06.04.2014, 11:10
Re: Attach3dTextLabelToPlayer (with time) - by RoboN1X - 06.04.2014, 12:00
Re: Attach3dTextLabelToPlayer (with time) - by Nucky - 06.04.2014, 19:16

Forum Jump:


Users browsing this thread: 1 Guest(s)