18.04.2011, 17:15
So, whats the problem here? The Textdraw doesn't shows up anymore..
Would be nice if u could help me.
Код:
new Text:Textdraw0[MAX_PLAYERS]; for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { Textdraw0[playerid] = TextDrawCreate(245.000000, 437.000000, "01/25"); TextDrawBackgroundColor(Textdraw0[playerid], 255); TextDrawFont(Textdraw0[playerid], 1); TextDrawLetterSize(Textdraw0[playerid], 0.520000, 1.000000); TextDrawColor(Textdraw0[playerid], -1); TextDrawSetOutline(Textdraw0[playerid], 0); TextDrawSetProportional(Textdraw0[playerid], 1); TextDrawSetShadow(Textdraw0[playerid], 1); } OnPlayerConnect TextDrawShowForPlayer(playerid, Textdraw0[playerid]); OnPlayerEnterRaceCheckPoint format(neewtext, sizeof(neewtext),"%d/%d",Checkpointsdone[playerid],MaxCheckpoints) TextDrawSetString(Textdraw0[playerid], neewtextt)