22.03.2014, 12:28
Oh, I know the problem.
This will work, change the OnPlayerConnect to OnPlayerSpawn.
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);
}