[Ajuda] Problema com TextDraw
#1

Olб galera do fуrum, estou com um "problema" com minha textdraw da tela de registro e login. Quando passo o mouse sobre a segunda opзгo a primeira tambйm fica marcada, e se passar sobre a terceira opзгo todas fica marcada. Como posso estar resolvendo esse bug? (obs: Uso o Ipleomax).

Se a imagem nгo abrir: https://imgur.com/a/b2FBO

PHP код:
Textdraw5 = TextDrawCreate(255.000000, 186.083312, "REGISTRAR");
    
TextDrawLetterSize(Textdraw5, 0.449999, 1.600000);
    
TextDrawAlignment(Textdraw5, 1);
    
TextDrawColor(Textdraw5, -1);
    
TextDrawSetShadow(Textdraw5, 0);
    
TextDrawSetOutline(Textdraw5, 1);
    
TextDrawBackgroundColor(Textdraw5, 51);
    
TextDrawFont(Textdraw5, 2);
    
TextDrawSetProportional(Textdraw5, 1);
    
Textdraw6 = TextDrawCreate(275.000000, 220.499969, "LOGAR");
    
TextDrawLetterSize(Textdraw6, 0.449999, 1.600000);
    
TextDrawAlignment(Textdraw6, 1);
    
TextDrawColor(Textdraw6, -1);
    
TextDrawSetShadow(Textdraw6, 0);
    
TextDrawSetOutline(Textdraw6, 1);
    
TextDrawBackgroundColor(Textdraw6, 51);
    
TextDrawFont(Textdraw6, 2);
    
TextDrawSetProportional(Textdraw6, 1);
    
Textdraw7 = TextDrawCreate(283.125000, 257.833374, "SAIR");
    
TextDrawLetterSize(Textdraw7, 0.449999, 1.600000);
    
TextDrawAlignment(Textdraw7, 1);
    
TextDrawColor(Textdraw7, -1);
    
TextDrawSetShadow(Textdraw7, 0);
    
TextDrawSetOutline(Textdraw7, 1);
    
TextDrawBackgroundColor(Textdraw7, 51);
    
TextDrawFont(Textdraw7, 2);
    
TextDrawSetProportional(Textdraw7, 1); 
Reply
#2

Jб aconteceu comigo vбrias vezes, eu tive que ir diminuindo ou aumentando o tamanho da бrea clicбvel.
http://permita.me/?q=Textdrawn+clic%C3%A1vel+samp
e alguns tуpicos:
https://sampforum.blast.hk/showthread.php?tid=340781
https://sampforum.blast.hk/showthread.php?tid=608550
entre muitos outros...
Quando vocк foi editar no Ipleomax, adicionou para ela ser clicбvel? pois sempre que eu adicionei funcionou normal.
Reply
#3

Sim, coloquei para ser clicбvel. Durante o dia vou tentar o que vocк disse, tentar diminuir ou aumentar a бrea.
Reply
#4

Faz o seguinte:

1.Coloca em 'usebox' aumenta o Box, aн vocк deixa clicбvel.
2.No code vai estar '0.000000' em TextSize vocк muda pra '10.000000'
Pronto
Reply
#5

Valeu pela ajuda galera, consegui resolver.
@resolvido
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)