[Ajuda] Textdraws ordem bug
#2

Entгo sei que falou para nгo dar soluзхes уbvias, ja tive esse problema por ter criado as textdraw individualmente, criei as globais e entгo as playertextdraw, sу consegui arrumar fazendo as duas juntas depois convertento as globais para playerstextdraw, infelizmente nao existe um "z-index" para definar qual ficar em cima.

ja tentou fazer algumas desses coisas ?

declarar a variavel da texta global primeiro:
PHP код:
new Text:welcomeText
new 
PlayerText:welcomeText[MAX_PLAYERS]; 
criar as globais a cima das playertextdraw no cуdigo.
PHP код:
public OnGameModeInit()
{
    
welcomeText TextDrawCreate(240.0,580.0,"Welcome to my SA-MP server");
    return 
1;
}

public 
OnPlayerConnect(playerid)
{
    
welcomeText[playerid] = CreatePlayerTextDraw(playerid320.0240.0"Welcome to my SA-MP server");

mostrar as que й para ficar por baixo primeiro e depois as outras:
PHP код:
TextDrawShowForPlayer(...)
PlayerTextDrawShow(...) 
se nada disso der certo da pra fazer como fiz:
fazer as duas juntas depois converter as globais para playerstextdraw,
Reply


Messages In This Thread
Textdraws ordem bug @RESOLVED - by Bruno13 - 01.10.2017, 20:43
Re: Textdraws ordem bug - by Whoo - 01.10.2017, 23:16
Re: Textdraws ordem bug - by Naine - 01.10.2017, 23:20
Re: Textdraws ordem bug - by Bruno13 - 01.10.2017, 23:45
Re: Textdraws ordem bug - by ForT - 02.10.2017, 00:06
Re: Textdraws ordem bug - by Bruno13 - 02.10.2017, 00:11
Re: Textdraws ordem bug - by F1N4L - 02.10.2017, 00:31
Re: Textdraws ordem bug - by Bruno13 - 02.10.2017, 00:42
Re: Textdraws ordem bug - by RodrigoMSR - 02.10.2017, 01:07
Re: Textdraws ordem bug - by Bruno13 - 02.10.2017, 01:18

Forum Jump:


Users browsing this thread: 1 Guest(s)