27.10.2011, 13:22
Hi guys,
I have a problem with my textdraw.
This is superimposed ....
Friend : ( http://imageshack.us/photo/my-images...011135241.png/ )
Me : ( http://imageshack.us/photo/my-images/832/samp002fn.png/ )
It's the script :
Cordially
I have a problem with my textdraw.
This is superimposed ....
Friend : ( http://imageshack.us/photo/my-images...011135241.png/ )
Me : ( http://imageshack.us/photo/my-images/832/samp002fn.png/ )
It's the script :
Код:
new sString[64]; format(sString, sizeof(sString), "Chargement des statistiques ...."); Textdraw2 = TextDrawCreate(147.000000,388.000000, sString); TextDrawFont(Textdraw2,1); TextDrawSetShadow(Textdraw2,0); TextDrawSetOutline(Textdraw2,1); TextDrawBackgroundColor(Textdraw2,0x000000FF); TextDrawColor(Textdraw2,0xFFFFFFFF); TextDrawAlignment(Textdraw2,0); TextDrawLetterSize(Textdraw2,0.5 ,1); TextDrawSetProportional(Textdraw2,1); TextDrawUseBox(Textdraw2, 0);
Код:
new newtext[256]; format(newtext, sizeof(newtext), "~w~DM1: ~r~%d ~w~DM2: ~r~%d ~w~DM3: ~r~%d~w~ TDM1 : ~r~%d", jdm1, jdm2, jdm3, jtdm1); TextDrawSetString(Textdraw2, newtext); TextDrawShowForPlayer(playerid, Textdraw2);