05.03.2014, 19:07
I'm trying to create a text draw (box) in the red highlighted area. When I do create this it makes my login screen black...
Thanks for the help in advance...
Thanks for the help in advance...
MainMenuTxtdraw[5] = TextDrawCreate(-590.000000,0.000000,"|"); TextDrawUseBox(MainMenuTxtdraw[5],1); TextDrawBoxColor(MainMenuTxtdraw[5],0x000000ff); TextDrawTextSize(MainMenuTxtdraw[5],660.000000,22.000000); TextDrawAlignment(MainMenuTxtdraw[5],0); TextDrawBackgroundColor(MainMenuTxtdraw[5],0x000000ff); TextDrawFont(MainMenuTxtdraw[5],3); TextDrawLetterSize(MainMenuTxtdraw[5],1.000000,52.200000); TextDrawColor(MainMenuTxtdraw[5],0x000000ff); TextDrawSetOutline(MainMenuTxtdraw[5],1); TextDrawSetProportional(MainMenuTxtdraw[5],1); TextDrawSetShadow(MainMenuTxtdraw[5],1);
Код:
MainMenuTxtdraw[5] = TextDrawCreate(-590.000000,0.000000,"|"); TextDrawUseBox(MainMenuTxtdraw[5],1); TextDrawBoxColor(MainMenuTxtdraw[5],0x000000ff); TextDrawTextSize(MainMenuTxtdraw[5],660.000000,22.000000); TextDrawAlignment(MainMenuTxtdraw[5],0); TextDrawBackgroundColor(MainMenuTxtdraw[5],0x000000ff); TextDrawFont(MainMenuTxtdraw[5],3); TextDrawLetterSize(MainMenuTxtdraw[5],1.000000,52.200000); TextDrawColor(MainMenuTxtdraw[5],0x000000ff); TextDrawSetOutline(MainMenuTxtdraw[5],1); TextDrawSetProportional(MainMenuTxtdraw[5],1); TextDrawSetShadow(MainMenuTxtdraw[5],1); |
MainMenuTxtdraw[5] = TextDrawCreate(596.000000, 1.000000, "."); TextDrawBackgroundColor(MainMenuTxtdraw[5], 255); TextDrawFont(MainMenuTxtdraw[5], 1); TextDrawLetterSize(MainMenuTxtdraw[5], 0.420000, 49.299983); TextDrawColor(MainMenuTxtdraw[5], 255); TextDrawSetOutline(MainMenuTxtdraw[5], 0); TextDrawSetProportional(MainMenuTxtdraw[5], 1); TextDrawSetShadow(MainMenuTxtdraw[5], 1); TextDrawUseBox(MainMenuTxtdraw[5], 1); TextDrawBoxColor(MainMenuTxtdraw[5], 255); TextDrawTextSize(MainMenuTxtdraw[5], 638.000000, 0.000000);