15.07.2014, 17:00
tem como colocar um settimer que assim que acabesse o interpolate ai o dialog de login apareзeria?
public OnPlayerRequestClass(playerid, classid)
{
InterpolateCameraPos(playerid, 1780.705932, 662.235778, 22.94894, 1796.292724, 890.195678, 31.306097, 6000);
InterpolateCameraLookAt(playerid, 1781.276489, 667.189636, 22.69244, 1796.121215, 885.378234, 29.978464, 6000);
SetTimerEx("aguarde", 5000, false, "i", playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_LIST, getPName(playerid), "Logar\nRegistrar\nSair", "Selecionar", "");
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
InterpolateCameraPos(playerid, 1780.705932, 662.235778, 22.94894, 1796.292724, 890.195678, 31.306097, 6000);
InterpolateCameraLookAt(playerid, 1781.276489, 667.189636, 22.69244, 1796.121215, 885.378234, 29.978464, 6000);
SetTimerEx("PraLogar", 6000, false, "i", playerid);
return 1;
}
forward PraLogar(playerid);
public PraLogar(playerid)
{
return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_LIST, getPName(playerid), "Logar\nRegistrar\nSair", "Selecionar", "");
}