Atualizar textdraw -
Luiiiz - 16.03.2017
Teria um jeito de atualizar textdraw? To fazendo um sistema de Fome/Sede/Sono em textdraw e nгo sei se tem um jeito de atualizar o tamanho de uma TextDraw sem ter que criar vбrias e ir escondendo uma e mostrando a outra.
Respuesta: Atualizar textdraw -
SammyJ - 16.03.2017
Sу mudar o valor dela, e mostra lб com TexdrawShow. Se for string use TexdrawSetString.
Re: Respuesta: Atualizar textdraw -
Luiiiz - 16.03.2017
Quote:
Originally Posted by SammyJ
Sу mudar o valor dela, e mostra lб com TexdrawShow. Se for string use TexdrawSetString.
|
No caso, sгo 12 tipos de tamanho. Eu vou ter que criar 12 TextDraws e ir escondendo 1 e mostrando a outra? '-'
Respuesta: Atualizar textdraw -
SammyJ - 16.03.2017
Nгo, altere o valor, depois mostre a novamente.
(estou pelo celular).
Re: Respuesta: Atualizar textdraw -
Luiiiz - 16.03.2017
Quote:
Originally Posted by SammyJ
Nгo, altere o valor, depois mostre a novamente.
(estou pelo celular).
|
Entгo fi, quero saber como alterar esse valor '-'
qual funзгo usar
Respuesta: Atualizar textdraw -
SammyJ - 16.03.2017
Primeiro valor.
PHP код:
TextdrawTextSize(textid, 1234.0, 321.0);
TextdrawShowForPlayer(playerid, textos);
Alterando o valor, e mostrando novamente.
PHP код:
TextdrawTextSize(textid, 432.0, 123.0);
TextdrawShowForPlayer(playerid, textos);
Re: Respuesta: Atualizar textdraw -
Luiiiz - 16.03.2017
Quote:
Originally Posted by SammyJ
Primeiro valor.
PHP код:
TextdrawTextSize(textid, 1234.0, 321.0);
TextdrawShowForPlayer(playerid, textos);
Alterando o valor, e mostrando novamente.
PHP код:
TextdrawTextSize(textid, 432.0, 123.0);
TextdrawShowForPlayer(playerid, textos);
|
PHP код:
Undefined symbol "TextdrawTextSize"
Respuesta: Re: Respuesta: Atualizar textdraw -
SammyJ - 16.03.2017
Quote:
Originally Posted by Luiiiz
PHP код:
Undefined symbol "TextdrawTextSize"
|
Mano isso foi sу um exemplo, eu escrevi a funзгo errada, pois estou pelo celular, infelizmente nгo posso ajudar agora!
Re: Respuesta: Re: Respuesta: Atualizar textdraw -
Luiiiz - 16.03.2017
Quote:
Originally Posted by SammyJ
Mano isso foi sу um exemplo, eu escrevi a funзгo errada, pois estou pelo celular, infelizmente nгo posso ajudar agora!
|
Sim, consegui. Valeu.