TextDraw Select Bug
#1

Hi, i cant write this bug, for this created the video..
[ame]http://www.youtube.com/watch?v=Umvjmd4sf9M[/ame]

Please fix it , or if exists resolve, write in.. Thanx
Reply
#2

your TextDrawSetSize is messed up, I notice you guys are blaming sa-mp for buggy textdraw selections yet it's you yourself / script.
Reply
#3

hmm, how to fix? I 1x testing the selectabe textdraws
PHP код:
    textdraw[td(playerid,1)] = TextDrawCreate(122,383,"~n~ ");
    
TextDrawLetterSize(textdraw[td(playerid,1)],-0.000000,6.999995);
    
TextDrawAlignment(textdraw[td(playerid,1)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,1)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,1)],3);
    
TextDrawUseBox(textdraw[td(playerid,1)],1);
    
TextDrawBoxColor(textdraw[td(playerid,1)],0x00000066);
    
TextDrawTextSize(textdraw[td(playerid,1)],518.000000,403.000000);
    
TextDrawSetOutline(textdraw[td(playerid,1)],0);
    
TextDrawSetProportional(textdraw[td(playerid,1)],1);
    
TextDrawSetShadow(textdraw[td(playerid,1)],1);
    
textdraw[td(playerid,2)] = TextDrawCreate(120,379,"Rychlost: xx");
    
TextDrawLetterSize(textdraw[td(playerid,2)],0.299999,1.000000);
    
TextDrawAlignment(textdraw[td(playerid,2)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,2)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,2)],2);
    
TextDrawUseBox(textdraw[td(playerid,2)],0);
    
TextDrawSetOutline(textdraw[td(playerid,2)],0);
    
TextDrawSetProportional(textdraw[td(playerid,2)],1);
    
TextDrawSetShadow(textdraw[td(playerid,2)],1);
    
textdraw[td(playerid,3)] = TextDrawCreate(120,389,"POSKODENIE: XX%");
    
TextDrawLetterSize(textdraw[td(playerid,3)],0.299999,1.000000);
    
TextDrawAlignment(textdraw[td(playerid,3)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,3)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,3)],2);
    
TextDrawUseBox(textdraw[td(playerid,3)],0);
    
TextDrawSetOutline(textdraw[td(playerid,3)],0);
    
TextDrawSetProportional(textdraw[td(playerid,3)],1);
    
TextDrawSetShadow(textdraw[td(playerid,3)],1);
    
textdraw[td(playerid,4)] = TextDrawCreate(120,399,"Model: XXXXXX");
    
TextDrawLetterSize(textdraw[td(playerid,4)],0.299999,1.000000);
    
TextDrawAlignment(textdraw[td(playerid,4)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,4)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,4)],2);
    
TextDrawUseBox(textdraw[td(playerid,4)],0);
    
TextDrawSetOutline(textdraw[td(playerid,4)],0);
    
TextDrawSetProportional(textdraw[td(playerid,4)],1);
    
TextDrawSetShadow(textdraw[td(playerid,4)],1);
    
textdraw[td(playerid,5)] = TextDrawCreate(120,409,"Turbo: ~r~<<");
    
TextDrawLetterSize(textdraw[td(playerid,5)],0.299999,1.000000);
    
TextDrawAlignment(textdraw[td(playerid,5)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,5)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,5)],2);
    
TextDrawUseBox(textdraw[td(playerid,5)],0);
    
TextDrawSetOutline(textdraw[td(playerid,5)],0);
    
TextDrawSetProportional(textdraw[td(playerid,5)],1);
    
TextDrawSetShadow(textdraw[td(playerid,5)],1);
    
textdraw[td(playerid,6)] = TextDrawCreate(120,419,"NOS: ~r~<<");
    
TextDrawLetterSize(textdraw[td(playerid,6)],0.299999,1.000000);
    
TextDrawAlignment(textdraw[td(playerid,6)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,6)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,6)],2);
    
TextDrawUseBox(textdraw[td(playerid,6)],0);
    
TextDrawSetOutline(textdraw[td(playerid,6)],0);
    
TextDrawSetProportional(textdraw[td(playerid,6)],1);
    
TextDrawSetShadow(textdraw[td(playerid,6)],1);
    
textdraw[td(playerid,7)] = TextDrawCreate(120,429,"Bateria: XX");
    
TextDrawLetterSize(textdraw[td(playerid,7)],0.299999,1.000000);
    
TextDrawAlignment(textdraw[td(playerid,7)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,7)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,7)],2);
    
TextDrawUseBox(textdraw[td(playerid,7)],0);
    
TextDrawSetOutline(textdraw[td(playerid,7)],0);
    
TextDrawSetProportional(textdraw[td(playerid,7)],1);
    
TextDrawSetShadow(textdraw[td(playerid,7)],1);
    
textdraw[td(playerid,8)] = TextDrawCreate(120,438,"Benzin: XX");
    
TextDrawLetterSize(textdraw[td(playerid,8)],0.299999,1.000000);
    
TextDrawAlignment(textdraw[td(playerid,8)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,8)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,8)],2);
    
TextDrawUseBox(textdraw[td(playerid,8)],0);
    
TextDrawSetOutline(textdraw[td(playerid,8)],0);
    
TextDrawSetProportional(textdraw[td(playerid,8)],1);
    
TextDrawSetShadow(textdraw[td(playerid,8)],1);
    
textdraw[td(playerid,9)] = TextDrawCreate(461,379,"Kapota");
    
TextDrawLetterSize(textdraw[td(playerid,9)],0.349999,1.100000);
    
TextDrawAlignment(textdraw[td(playerid,9)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,9)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,9)],2);
    
TextDrawUseBox(textdraw[td(playerid,9)],0);
    
TextDrawSetOutline(textdraw[td(playerid,9)],0);
    
TextDrawSetProportional(textdraw[td(playerid,9)],1);
    
TextDrawSetShadow(textdraw[td(playerid,9)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,9)], 1);
    
textdraw[td(playerid,10)] = TextDrawCreate(473,393,"Kufor");
    
TextDrawLetterSize(textdraw[td(playerid,10)],0.349999,1.100000);
    
TextDrawAlignment(textdraw[td(playerid,10)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,10)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,10)],2);
    
TextDrawUseBox(textdraw[td(playerid,10)],0);
    
TextDrawSetOutline(textdraw[td(playerid,10)],0);
    
TextDrawSetProportional(textdraw[td(playerid,10)],1);
    
TextDrawSetShadow(textdraw[td(playerid,10)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,10)], 1);
    
textdraw[td(playerid,11)] = TextDrawCreate(464,409,"Svetla");
    
TextDrawLetterSize(textdraw[td(playerid,11)],0.349999,1.100000);
    
TextDrawAlignment(textdraw[td(playerid,11)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,11)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,11)],2);
    
TextDrawUseBox(textdraw[td(playerid,11)],0);
    
TextDrawSetOutline(textdraw[td(playerid,11)],0);
    
TextDrawSetProportional(textdraw[td(playerid,11)],1);
    
TextDrawSetShadow(textdraw[td(playerid,11)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,11)], 1);
    
textdraw[td(playerid,12)] = TextDrawCreate(471,424,"Motor");
    
TextDrawLetterSize(textdraw[td(playerid,12)],0.349999,1.100000);
    
TextDrawAlignment(textdraw[td(playerid,12)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,12)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,12)],2);
    
TextDrawUseBox(textdraw[td(playerid,12)],0);
    
TextDrawSetOutline(textdraw[td(playerid,12)],0);
    
TextDrawSetProportional(textdraw[td(playerid,12)],1);
    
TextDrawSetShadow(textdraw[td(playerid,12)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,12)], 1);
    
textdraw[td(playerid,13)] = TextDrawCreate(471,437,"Zamka");
    
TextDrawLetterSize(textdraw[td(playerid,13)],0.349999,1.100000);
    
TextDrawAlignment(textdraw[td(playerid,13)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,13)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,13)],2);
    
TextDrawUseBox(textdraw[td(playerid,13)],0);
    
TextDrawSetOutline(textdraw[td(playerid,13)],0);
    
TextDrawSetProportional(textdraw[td(playerid,13)],1);
    
TextDrawSetShadow(textdraw[td(playerid,13)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,13)], 1);
    
textdraw[td(playerid,14)] = TextDrawCreate(320,407,"O");
    
TextDrawLetterSize(textdraw[td(playerid,14)],0.850000,3.499998);
    
TextDrawAlignment(textdraw[td(playerid,14)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,14)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,14)],1);
    
TextDrawUseBox(textdraw[td(playerid,14)],0);
    
TextDrawSetOutline(textdraw[td(playerid,14)],0);
    
TextDrawSetProportional(textdraw[td(playerid,14)],1);
    
TextDrawSetShadow(textdraw[td(playerid,14)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,14)], 1);
    
textdraw[td(playerid,15)] = TextDrawCreate(233,405,"~n~ ");
    
TextDrawLetterSize(textdraw[td(playerid,15)],-0.000000,3.999998);
    
TextDrawAlignment(textdraw[td(playerid,15)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,15)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,15)],3);
    
TextDrawUseBox(textdraw[td(playerid,15)],1);
    
TextDrawBoxColor(textdraw[td(playerid,15)],0xFCD11666);
    
TextDrawTextSize(textdraw[td(playerid,15)],454.000000,415.000000);
    
TextDrawSetOutline(textdraw[td(playerid,15)],0);
    
TextDrawSetProportional(textdraw[td(playerid,15)],1);
    
TextDrawSetShadow(textdraw[td(playerid,15)],1);
    
textdraw[td(playerid,16)] = TextDrawCreate(235,413,"~n~ ");
    
TextDrawLetterSize(textdraw[td(playerid,16)],-0.000000,2.299999);
    
TextDrawAlignment(textdraw[td(playerid,16)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,16)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,16)],3);
    
TextDrawUseBox(textdraw[td(playerid,16)],1);
    
TextDrawBoxColor(textdraw[td(playerid,16)],0x00C5CD66);
    
TextDrawTextSize(textdraw[td(playerid,16)],318.000000,407.000000);
    
TextDrawSetOutline(textdraw[td(playerid,16)],0);
    
TextDrawSetProportional(textdraw[td(playerid,16)],1);
    
TextDrawSetShadow(textdraw[td(playerid,16)],1);
    
textdraw[td(playerid,17)] = TextDrawCreate(234,415,"RADIO OFF");
    
TextDrawLetterSize(textdraw[td(playerid,17)],0.299999,1.600000);
    
TextDrawAlignment(textdraw[td(playerid,17)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,17)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,17)],1);
    
TextDrawUseBox(textdraw[td(playerid,17)],0);
    
TextDrawSetOutline(textdraw[td(playerid,17)],0);
    
TextDrawSetProportional(textdraw[td(playerid,17)],1);
    
TextDrawSetShadow(textdraw[td(playerid,17)],1);
    
textdraw[td(playerid,18)] = TextDrawCreate(323,405,"I");
    
TextDrawLetterSize(textdraw[td(playerid,18)],1.349999,2.200000);
    
TextDrawAlignment(textdraw[td(playerid,18)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,18)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,18)],2);
    
TextDrawUseBox(textdraw[td(playerid,18)],0);
    
TextDrawSetOutline(textdraw[td(playerid,18)],0);
    
TextDrawSetProportional(textdraw[td(playerid,18)],1);
    
TextDrawSetShadow(textdraw[td(playerid,18)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,18)], 1);
    
textdraw[td(playerid,19)] = TextDrawCreate(353,410,"~<~");
    
TextDrawLetterSize(textdraw[td(playerid,19)],0.650000,2.699999);
    
TextDrawAlignment(textdraw[td(playerid,19)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,19)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,19)],3);
    
TextDrawUseBox(textdraw[td(playerid,19)],0);
    
TextDrawSetOutline(textdraw[td(playerid,19)],0);
    
TextDrawSetProportional(textdraw[td(playerid,19)],1);
    
TextDrawSetShadow(textdraw[td(playerid,19)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,19)], 1);
    
textdraw[td(playerid,20)] = TextDrawCreate(382,410,"~>~");
    
TextDrawLetterSize(textdraw[td(playerid,20)],0.650000,2.699999);
    
TextDrawAlignment(textdraw[td(playerid,20)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,20)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,20)],3);
    
TextDrawUseBox(textdraw[td(playerid,20)],0);
    
TextDrawSetOutline(textdraw[td(playerid,20)],0);
    
TextDrawSetProportional(textdraw[td(playerid,20)],1);
    
TextDrawSetShadow(textdraw[td(playerid,20)],1);
    
TextDrawSetSelectable(textdraw[td(playerid,20)], 1);
    
textdraw[td(playerid,21)] = TextDrawCreate(405,414,"Sonic");
    
TextDrawLetterSize(textdraw[td(playerid,21)],0.550000,2.100000);
    
TextDrawAlignment(textdraw[td(playerid,21)],0);
    
TextDrawBackgroundColor(textdraw[td(playerid,21)],0x000000FF);
    
TextDrawFont(textdraw[td(playerid,21)],3);
    
TextDrawUseBox(textdraw[td(playerid,21)],0);
    
TextDrawSetOutline(textdraw[td(playerid,21)],0);
    
TextDrawSetProportional(textdraw[td(playerid,21)],1);
    
TextDrawSetShadow(textdraw[td(playerid,21)],1); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)