27.10.2014, 00:15
Well I have a textdraw, but it doesn't disappear lol.
I get no errors, but here's the code - when I get IG the text appears and says "Loading..." But it just doesn't go away lmao.
I get no errors, but here's the code - when I get IG the text appears and says "Loading..." But it just doesn't go away lmao.
pawn Код:
stock LoadTextdraws()
{
StopAnim = TextDrawCreate(610.0, 400.0,
"~r~~k~~PED_SPRINT~ ~w~to stop the animation");
TextDrawUseBox(StopAnim, 0);
TextDrawFont(StopAnim, 2);
TextDrawSetShadow(StopAnim,0);
TextDrawSetOutline(StopAnim,1);
TextDrawBackgroundColor(StopAnim,0x000000FF);
TextDrawColor(StopAnim,0xFFFFFFFF);
TextDrawAlignment(StopAnim,3);
BoxNotice = TextDrawCreate(174.000000, 181.000000, "Box");
TextDrawBackgroundColor(BoxNotice, 0);
TextDrawFont(BoxNotice, 1);
TextDrawLetterSize(BoxNotice, 1.590000, 7.700005);
TextDrawColor(BoxNotice, 0);
TextDrawSetOutline(BoxNotice, 0);
TextDrawSetProportional(BoxNotice, 1);
TextDrawSetShadow(BoxNotice, 1);
TextDrawUseBox(BoxNotice, 1);
TextDrawBoxColor(BoxNotice, 100);
TextDrawTextSize(BoxNotice, 454.000000, 18.000000);
LoadingNotice = TextDrawCreate(313.000000, 193.000000, "Loading...");
TextDrawAlignment(LoadingNotice, 2);
TextDrawBackgroundColor(LoadingNotice, 255);
TextDrawFont(LoadingNotice, 2);
TextDrawLetterSize(LoadingNotice, 0.629999, 3.000000);
TextDrawColor(LoadingNotice, -1);
TextDrawSetOutline(LoadingNotice, 1);
TextDrawSetProportional(LoadingNotice, 1);
}