08.08.2011, 17:08
pawn Код:
if(dialogid == 123) //
{
if(response)
{
if(listitem == 3)
{
ShowPlayerDialog(playerid, 15,DIALOG_STYLE_LIST,"Menu de Armas","Eagle\nSniper\nKnife\nGranade\nCombat Shotgun\nAK-47\nBazuca\nMinugin","OK","");
}
}
}
if(listitem == 0)
{
EscolheuArma[playerid] = 24;
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_INPUT, "Nome do dialog", "Digite o tanto de municao", "Ok", "");
}
if(listitem == 1)
{
EscolheuArma[playerid] = 34;
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Nome do dialog", "Digite o tanto de municao", "Ok", "");
}
if(listitem == 2)
{
EscolheuArma[playerid] = 4;
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Nome do dialog", "Digite o tanto de municao", "Ok", "");
}
if(listitem == 3)
{
EscolheuArma[playerid] = 16;
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_INPUT, "Nome do dialog", "Digite o tanto de municao", "Ok", "");
}
if(listitem == 4)
{
EscolheuArma[playerid] = 27;
ShowPlayerDialog(playerid, 4, DIALOG_STYLE_INPUT, "Nome do dialog", "Digite o tanto de municao", "Ok", "");
}
if(listitem == 5)
{
EscolheuArma[playerid] = 30;
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_INPUT, "Nome do dialog", "Digite o tanto de municao", "Ok", "");
}
if(listitem == 6)
{
EscolheuArma[playerid] = 36;
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_INPUT, "Nome do dialog", "Digite o tanto de municao", "Ok", "");
}
if(listitem == 7)
{
EscolheuArma[playerid] = 38;
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_INPUT, "Nome do dialog", "Digite o tanto de municao", "Ok", "");
}