Warum wird das Textdraw Ingame nicht angezeigt?
stock CreateTextdraws()
{
Uhrzeit = TextDrawCreate(577.000000, 20.000000, "00:00");
TextDrawFont(Uhrzeit, 3);
TextDrawLetterSize(Uhrzeit, 0.554166, 2.449999);
TextDrawTextSize(Uhrzeit, 400.000000, 17.000000);
TextDrawSetOutline(Uhrzeit, 2);
TextDrawSetShadow(Uhrzeit, 0);
TextDrawAlignment(Uhrzeit, 2);
TextDrawColor(Uhrzeit, SERVER_COLOR);
TextDrawBackgroundColor(Uhrzeit, 255);
TextDrawBoxColor(Uhrzeit, 50);
TextDrawUseBox(Uhrzeit, 0);
TextDrawSetProportional(Uhrzeit, 1);
TextDrawSetSelectable(Uhrzeit, 0);
Datum = TextDrawCreate(577.000000, 8.000000, "00.00.0000");
TextDrawFont(Datum, 3);
TextDrawLetterSize(Datum, 0.291665, 1.349998);
TextDrawTextSize(Datum, 400.000000, 17.000000);
TextDrawSetOutline(Datum, 2);
TextDrawSetShadow(Datum, 0);
TextDrawAlignment(Datum, 2);
TextDrawColor(Datum, SERVER_COLOR);
TextDrawBackgroundColor(Datum, 255);
TextDrawBoxColor(Datum, 50);
TextDrawUseBox(Datum, 0);
TextDrawSetProportional(Datum, 1);
TextDrawSetSelectable(Datum, 0);
ServerName = TextDrawCreate(8.000000, 427.000000, SERVER_NAME);
TextDrawFont(ServerName, 0);
TextDrawLetterSize(ServerName, 0.558333, 1.550000);
TextDrawTextSize(ServerName, 400.000000, 17.000000);
TextDrawSetOutline(ServerName, 1);
TextDrawSetShadow(ServerName, 0);
TextDrawAlignment(ServerName, 1);
TextDrawColor(ServerName, SERVER_COLOR);
TextDrawBackgroundColor(ServerName, 255);
TextDrawBoxColor(ServerName, 50);
TextDrawUseBox(ServerName, 0);
TextDrawSetProportional(ServerName, 1);
TextDrawSetSelectable(ServerName, 0);
return 1;
}
public OnGameModeInit()
{
CreateTextdraws();
TextDrawShowForAll(ServerName);
TextDrawShowForAll(Datum);
TextDrawShowForAll(Uhrzeit);
return 1;
}