Chat Question
#1

hi I made a dialog system and I wonder if there is an way to hide chat while dialog is up..like pressing twice f7..
Reply
#2

No, i think this is the only way.
Reply
#3

i saw on a server..
Reply
#4

Maybe you can clear the chat when he executes the command!

PHP код:
CMD:textdrawappear(playerid,params[])
{
 for(new 
120 i++ )
 {
 
SendClientMessage(playerid, -1" "); // Will clear the chat only for the player who does /textdrawappear
 
}
 
//Add the textraw show here
 
return 1;

Reply
#5

its not textdraw its a dialog..
Reply
#6

Who cares what the command says? The functioning is the same. Clear all chat when the dialog/textdraw/penis is shown
Reply
#7

yes but not that...it hides hud.. chat hud..
Reply
#8

What? Please explain. Do you want the HUD to be hidden? If so, I don't think that is possible.
Reply
#9

Upon showing the dialog, add this:
Код:
SelectTextDraw(playerid, 0xA3B4C5FF);
When the player finishes the use with a dialog and everything, add at the end of the dialog response:
Код:
CancelSelectTextDraw(playerid);
Reply
#10

and text I cant hide??
Reply


Forum Jump:


Users browsing this thread: