[Ajuda] Textdraw
#1

Queria saber se tem algum modo de quando o player apertar ESC as textdraws sumir, pois quando ele aperta esc apenas cancela a seleзгo e as text permanecem.
Reply
#2

pawn Код:
if(clickedid == Text:INVALID_TEXT_DRAW)
{
// TextDrawHide,..
}
Reply
#3

Vocк pode usar TextDrawHideForPlayer,
Posta o cуdigo das textdraws
Reply
#4

E Se eu usar PlayerTextdraw?
Reply
#5

pawn Код:
if(playertextid == PlayerText:INVALID_TEXT_DRAW)
{
// PlayerTextDrawHide,...
}
Reply
#6

Nгo obtive resultados
Reply
#7

Quote:
Originally Posted by Wellington1999
Посмотреть сообщение
Nгo obtive resultados
Posta os cуdigos meu amigo, se nгo fica difнcil pra sabermos seu problema.
Reply
#8

Quote:
Originally Posted by Wellington1999
Посмотреть сообщение
E Se eu usar PlayerTextdraw?
O mesmo serve para identificar para ambos tipos de TextDraws...ele identifica indiferente se a TextDraw que estб sendo apresentada й PlayerTextDraw ou TextDraw, ele apenas identifica se o cursor estб na tela e a tecla ESC foi teclada para sair do mesmo.

Ex:

PHP код:
public OnPlayerClickTextDraw(playeridText:clickedid)
{
    if(
_:clickedid == INVALID_TEXT_DRAW)
    {
        
//o que fazer qnd ESC for teclado enquanto o cursor estiver na tela...aconselharia a utilizar variбveis de controle para identificar se apresentou tal textdraw
    
}
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)