29.05.2011, 20:15
O dialog nгo aparece --'
pawn Code:
//OnDialogResponse
if(dialogid == 66665)
{
if(response == 1)
{
ShowPlayerDialog(playerid, 6985, DIALOG_STYLE_INPUT, "Digite a Senha do Keypad", ".", "OK", "");
}
if(response == 0)
{
ShowPlayerDialog(playerid, 6986, DIALOG_STYLE_INPUT, "Digite a Senha do Keypad", ".", "OK", "");
}
}
//OnPlayerKeyStateChange
if(newkeys == KEY_SPRINT)
{
if (PlayerToPoint(1, playerid,251.81860351563, 71.3359375, 1004.1585083008))
{
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
{
//ShowPlayerDialog(playerid, 688, DIALOG_STYLE_MSGBOX, "Controle Remoto - Janela", " . ", "Abrir", "Fechar");
ShowPlayerDialog(playerid, 66665, DIALOG_STYLE_MSGBOX, "Controle Remoto - Janela", " . ", "Abrir", "Fechar");
ApplyAnimation(playerid,"PED","Walk_DoorPartial",4.1,0,1,1,1,1);
}
}
}