Chat Question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Chat Question (
/showthread.php?tid=572444)
Chat Question -
Ugaustin - 28.04.2015
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..
Re: Chat Question -
Karan007 - 28.04.2015
No, i think this is the only way.
Re: Chat Question -
Ugaustin - 28.04.2015
i saw on a server..
Re: Chat Question -
Karan007 - 28.04.2015
Maybe you can clear the chat when he executes the command!
PHP код:
CMD:textdrawappear(playerid,params[])
{
for(new i ; i < 120 ; i++ )
{
SendClientMessage(playerid, -1, " "); // Will clear the chat only for the player who does /textdrawappear
}
//Add the textraw show here
return 1;
}
Re: Chat Question -
Ugaustin - 28.04.2015
its not textdraw its a dialog..
Re: Chat Question -
mamorunl - 28.04.2015
Who cares what the command says? The functioning is the same. Clear all chat when the dialog/textdraw/penis is shown
Re: Chat Question -
Ugaustin - 28.04.2015
yes but not that...it hides hud.. chat hud..
Re: Chat Question -
J0sh... - 28.04.2015
What? Please explain. Do you want the HUD to be hidden? If so, I don't think that is possible.
Re: Chat Question -
$Marco$ - 28.04.2015
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);
Re: Chat Question -
Ugaustin - 28.04.2015
and text I cant hide??