textdraws
#9

Oh, I know the problem.

pawn Код:
public OnGameModeInit()
{
    TimeTD = TextDrawCreate(630.000000,428.000000,"Time");
    TextDrawFont(TimeTD,3);
    TextDrawSetShadow(TimeTD,0);
    TextDrawSetOutline(TimeTD,1);
    TextDrawAlignment(TimeTD,3);
    TextDrawLetterSize(TimeTD,0.399999,1.500000);
    TextDrawColor(TimeTD,COLOR_RED);
}

public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, TimeTD);
    TimeTD = TextDrawCreate(630.000000,428.000000,"Time");
    TextDrawFont(TimeTD,3);
    TextDrawSetShadow(TimeTD,0);
    TextDrawSetOutline(TimeTD,1);
    TextDrawAlignment(TimeTD,3);
    TextDrawLetterSize(TimeTD,0.399999,1.500000);
    TextDrawColor(TimeTD,COLOR_RED);
}
This will work, change the OnPlayerConnect to OnPlayerSpawn.
Reply


Messages In This Thread
textdraws - by aboa - 22.03.2014, 11:48
Re: textdraws - by Hanuman - 22.03.2014, 11:51
Re: textdraws - by Equuuuin0X - 22.03.2014, 11:52
Re: textdraws - by aboa - 22.03.2014, 11:57
Re: textdraws - by Equuuuin0X - 22.03.2014, 11:58
Re: textdraws - by Hanuman - 22.03.2014, 12:01
Re: textdraws - by Equuuuin0X - 22.03.2014, 12:05
Re: textdraws - by aboa - 22.03.2014, 12:24
Re: textdraws - by Equuuuin0X - 22.03.2014, 12:28
Re: textdraws - by Avi Raj - 22.03.2014, 12:32
Re: textdraws - by Hanuman - 22.03.2014, 12:36
Re: textdraws - by Equuuuin0X - 22.03.2014, 12:42
Re: textdraws - by Avi Raj - 22.03.2014, 12:45
Re: textdraws - by Equuuuin0X - 22.03.2014, 12:49
Re: textdraws - by vassilis - 22.03.2014, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)