17.02.2015, 17:04
https://sampwiki.blast.hk/wiki/SetTimerEx
I mean when you show the textdraw, create a timer using SetTimerEx, that hides the textdraw and shows the dialog.
Example:
I mean when you show the textdraw, create a timer using SetTimerEx, that hides the textdraw and shows the dialog.
Example:
pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, textdrawname);
SetTimerEx( ... );
}
forward TimerName(playerid)
public TimerName(playerid)
{
TextDrawHideForPlayer(playerid, textdrawname);
ShowPlayerDialog(playerid, ... );
}