22.01.2013, 19:38
Is it possible when I click an dialog to use timer (ex.: 10 secs) and after 10 seconds the another dialog to appear ? If its please tell me how to do it .
SetTimerEx("OpenDialog",10000,false,"ii",playerid,dialogid);
forward OpenDialog(playerid,dialogid);
public OpenDialog(playerid,dialogid)
{
switch(dialogid)
{
case 1000: ShowPlayerDialog(playerid,1001,DIALOG_STYLE_MSGBOX,"Test","10 seconds have passed!","Ok","");
}
return 1;
}
Yup.
pawn Код:
pawn Код:
|
SetTimer("OpenDialog",10000,1);