22.03.2014, 11:58
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 OnPlayerConnect(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);
}