SA-MP Forums Archive
[Ajuda] Problema TextDraw. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Problema TextDraw. (/showthread.php?tid=550702)



Problema TextDraw. - SeckSeck - 14.12.2014

Coloquei essa textdraw da telinha preta emcima e embaixo, mais dps de um tempo a parte de cima volta a aparecer...
https://www.youtube.com/watch?v=AUhoWdrjukQ


Re: Problema TextDraw. - [BOPE]Seu._.Madruga - 14.12.2014

Posta os cуdigos dela.


Respuesta: Problema TextDraw. - SeckSeck - 14.12.2014

http://pastebin.com/tb5Np3PM


Re: Problema TextDraw. - DarthVeider - 14.12.2014

Adiciona Isto Em OnPlayerDeath

pawn Код:
// Em OnPLayerDeath
 TextDrawHideForPlayer(playerid, IntroTD0);
 TextDrawHideForPlayer(playerid, IntroTD1);
Para Quando A Public For Chamada Fazer Com Que Ele Ainda Continue Escondido.


Respuesta: Problema TextDraw. - SeckSeck - 15.12.2014

Continua a mesma coisa mano. :/


Re: Problema TextDraw. - Whoo - 15.12.2014

Retire as textdraw, pois pode ser que tenha 2 ai vocк retira e ve se continua a aparecer


Re: Problema TextDraw. - CLANdok - 15.12.2014

pawn Код:
// Para evitar Lag's em loop's, coloque no topo do GM:
#undef MAX_PLAYERS
#define MAX_PLAYERS (100)
// 100 й o numero mбximo de players no seu servidor.

//Loop
for(new i; i < MAX_PLAYERS; i++){
    TextDrawHideForPlayer(i, IntroTD0);
    TextDrawHideForPlayer(i, IntroTD1);
}



Re: Problema TextDraw. - Bruno13 - 15.12.2014

Quote:
Originally Posted by CLANdok
Посмотреть сообщение
pawn Код:
// Para evitar Lag's em loop's, coloque no topo do GM:
#undef MAX_PLAYERS
#define MAX_PLAYERS (100)
// 100 й o numero mбximo de players no seu servidor.

//Loop
for(new i; i < MAX_PLAYERS; i++){
    TextDrawHideForPlayer(i, IntroTD0);
    TextDrawHideForPlayer(i, IntroTD1);
}
Qual a necessidade disso se ele jб usa para o player ao dar spawn?


Re: Problema TextDraw. - CLANdok - 15.12.2014

Quote:
Originally Posted by Bruno13
Посмотреть сообщение
Qual a necessidade disso se ele jб usa para o player ao dar spawn?
Slб, sу mandei ele tentar, nem eu sei direito, sempre tive problemas com textdraws, e minha vontade de ajudar nгo estб grande hoje. Posta uma soluзгo pra ele.


Re: Problema TextDraw. - Bruno13 - 16.12.2014

Quote:
Originally Posted by CLANdok
Посмотреть сообщение
Slб, sу mandei ele tentar, nem eu sei direito, sempre tive problemas com textdraws, e minha vontade de ajudar nгo estб grande hoje. Posta uma soluзгo pra ele.
Este code que postaste, remove a TextDraw da tela de todos players, veja ou procure entender antes de postar, para evitar que cause mais problemas...nгo tem soluзгo, ele nгo postou os codes por completo, provavelmente й um timer que esta sendo chamado a TextDraw errada...