25.05.2010, 17:38
ok, in my server i have random textdraws with funfacts but for some reason it gets bugged sometimes if its bugged the textdraw looks like this:

if its normal:

my codes:
and
on top of my script (i actually got 103 fun facts but couldnt copy them all)
i would really appriciate it if someone could help cause i cand find the solution

if its normal:

my codes:
Код:
ShadowsRandom = TextDrawCreate(2.000000,435.000000,"[FACT] All US Presidents have worn glasses. Some just didn't like being seen wearing them in public."); TextDrawBackgroundColor(ShadowsRandom, -1); TextDrawFont(ShadowsRandom, 1); TextDrawLetterSize(ShadowsRandom, 0.320000, 1.300000); TextDrawColor(ShadowsRandom,0xffffffff); TextDrawSetOutline(ShadowsRandom, 0); TextDrawSetProportional(ShadowsRandom, 1); TextDrawSetShadow(ShadowsRandom, 0); TextDrawUseBox(ShadowsRandom, 1); TextDrawBoxColor(ShadowsRandom, 0xA0000033); TextDrawTextSize(ShadowsRandom, 640.000000, -85.000000);
Код:
public RandomMessage()
{
TextDrawHideForAll(ShadowsRandom);
TextDrawSetString(ShadowsRandom, RandomMessages[random(sizeof(RandomMessages))]);
TextDrawShowForAll(ShadowsRandom);
return 1;
}
Код:
new RandomMessages[104][91] =
{
{"[INFO] Remember, use /help before asking anyone else for assistance."},
{"[INFO] Killing at Stunt Parks is not allowed!"},
};
i would really appriciate it if someone could help cause i cand find the solution

