Problema com textdraw
#6

Quote:
Originally Posted by JeffSantos2
Посмотреть сообщение
Tem sim, pois a textdraw й mostrada apenas quando ele usa /teste, logo o /teste precisa saber qual o ID da textdraw a ser exibida, se nгo tiver o MAX_PLAYERS, ela se torna uma variбvel global, e creio que nгo seja isto que ele quer.

Nгo precisaria se ele estivesse usando a funзгo TextDrawCreate e fosse Text: ao invйs de PlayerText: ... Dai sim nгo precisaria do MAX_PLAYERS
nгo cara nada haver o que vocк falou, sabe o valor de MAX_PLAYERS ? ali vocк sу tem duas Textdraw nгo tem por que utilizar MAX_PLAYERS sу se vocк criar 1000 Textdraw que й impossнvel.

PHP код:
new PlayerText:gText1[2];
PlayerTextDrawShow(playeridPlayerTextgText1[0]);
PlayerTextDrawShow(playeridPlayerTextgText1[1]);
CreateTextDraws(playerid)
{
    
gText1[0] = CreatePlayerTextDraw(playerid261.250000164.499984"clicavel ussuario");
    
PlayerTextDrawLetterSize(playeridgText1[0], 0.4462491.051666);
    
PlayerTextDrawAlignment(playeridgText1[0], 1);
    
PlayerTextDrawColor(playeridgText1[0], -16777814);
    
PlayerTextDrawSetShadow(playeridgText1[0], 0);
    
PlayerTextDrawSetOutline(playeridgText1[0], 1);
    
PlayerTextDrawBackgroundColor(playeridgText1[0], 255);
    
PlayerTextDrawFont(playeridgText1[0], 1);
    
PlayerTextDrawSetProportional(playeridgText1[0], 1);
    
//PlayerTextDrawTextSize(playerid, gText1[0], 0.446249, 1.051666);
    
PlayerTextDrawSetSelectable(playeridgText1[0], 1);
    
gText1[1] = CreatePlayerTextDraw(playerid266.875000211.166717"clicavel senha");
    
PlayerTextDrawLetterSize(playeridgText1[1], 0.4437491.022499);
    
PlayerTextDrawAlignment(playeridgText1[1], 1);
    
PlayerTextDrawColor(playeridgText1[1], -2139062017);
    
PlayerTextDrawSetShadow(playeridgText1[1], 0);
    
PlayerTextDrawSetOutline(playeridgText1[1], 1);
    
PlayerTextDrawBackgroundColor(playeridgText1[1], 255);
    
PlayerTextDrawFont(playeridgText1[1], 1);
    
PlayerTextDrawSetProportional(playeridgText1[1], 1);
    
PlayerTextDrawTextSize(playeridgText1[1], 0.4437491.022499);
    
PlayerTextDrawSetSelectable(playeridgText1[1], 1);
    return 
1;

Reply


Messages In This Thread
Problema com textdraw - by MrJanitor - 24.02.2017, 06:25
Re: Problema com textdraw - by Carlos001 - 24.02.2017, 11:03
Re: Problema com textdraw - by JeffSantos2 - 24.02.2017, 15:57
Re: Problema com textdraw - by Whoo - 24.02.2017, 16:24
Re: Problema com textdraw - by JeffSantos2 - 24.02.2017, 16:31
Re: Problema com textdraw - by Whoo - 24.02.2017, 17:02
Re: Problema com textdraw - by JeffSantos2 - 24.02.2017, 17:24
Re: Problema com textdraw - by Whoo - 24.02.2017, 17:30
Re: Problema com textdraw - by JeffSantos2 - 24.02.2017, 17:35
Re: Problema com textdraw - by KinG7 - 24.02.2017, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)