[HELP] Textdraw above head
#4

You can use it onplayerspawn or with a command.
pawn Код:
public OnPlayerSpawn(playerid)
{
    new Text3D:blabla[MAX_PLAYERS];
    blabla[playerid] = Create3DTextLabel("Your text here.",0xFFFFFFAA, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(blabla[playerid],playerid,0.0, 0.0, 0.7);
    return 1;
}
Command:
pawn Код:
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
    new Text3D:blabla[MAX_PLAYERS];
    blabla[playerid] = Create3DTextLabel("Your text here.",0xFFFFFFAA, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(blabla[playerid],playerid,0.0, 0.0, 0.7);
    return 1;
}
Reply


Messages In This Thread
[HELP] Textdraw above head - by joeri55 - 06.01.2011, 11:16
Re: [HELP] Textdraw above head - by veyron - 06.01.2011, 11:19
Re: [HELP] Textdraw above head - by _rAped - 06.01.2011, 11:20
Re: [HELP] Textdraw above head - by HyperZ - 06.01.2011, 11:20
Re: [HELP] Textdraw above head - by joeri55 - 06.01.2011, 11:36
Re: [HELP] Textdraw above head - by HyperZ - 06.01.2011, 11:42
Re: [HELP] Textdraw above head - by joeri55 - 06.01.2011, 11:52
Re: [HELP] Textdraw above head - by _rAped - 06.01.2011, 11:54
Re: [HELP] Textdraw above head - by joeri55 - 06.01.2011, 12:00
Re: [HELP] Textdraw above head - by _rAped - 06.01.2011, 12:01

Forum Jump:


Users browsing this thread: 2 Guest(s)