01.06.2014, 21:47
Defina o Usuбrio Punido em:
Cуdigo:
pawn Код:
if (PlayerInfo[playerid][pPunido] >= 1)
pawn Код:
if(dialogid == menuprof)
{
if(response == 1)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid, Baixa, DIALOG_STYLE_LIST, "Honestas 1 » {FF0000}Level {FFFFFF}- {00FF00}Salario", "Mendigo » 0 - $0\nCorreios » 5 - $1000\nPoeta » 5 - $130\nMotorista Particular » 0 - $300\nJornalista » 15 - $900\nFotуgrafo » 20 - $800\nMeteorologista » 45 - $950\nMecвnico » 5 - $800\nRapper » 100 - $100\nVendedor de Skins » 40 - $980\nVoltar", "Ok", "Cancelar");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid, Honestas, DIALOG_STYLE_LIST, "Honestas 2 » {FF0000}Level {FFFFFF}- {00FF00}Salario", "Vendedor de Carros » 50 Admin - $1500\nFrentista » 35 - $600\nTaxista » 5 - $500\nParamйdico » 10 - $600\nAposentado » 500 - $3000\nAdvogado » 80 - $5000\nReligioso » 20 - $300\nVoltar", "Ok", "Cancelar");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid, Desonestas, DIALOG_STYLE_LIST, "Desonestas » {FF0000}Level {FFFFFF}- {00FF00}Salario", "Traficante de Armas » 40 - $350\nAssasino » 15 - $500\nTerrorista » 60 - $1000\nSequestrador » 90 - $900\nAssasino Profissional » 25 - $800\nProstituta » 5 - $180\nAssaltante » 50 - $3450\nTraficante » 10 - $250\nMбfia » 400 - $7000\nYakuza » 600 - $5000\nVoltar", "Ok", "Cancelar");
}
if(listitem == 3)
{
if (PlayerInfo[playerid][pPunido] >= 1)
{
ShowPlayerDialog(playerid, Governo, DIALOG_STYLE_LIST, "Policia » {FF0000}Level {FFFFFF}- {00FF00}Salario", "Polнcia Rodoviбria » 60 - $780\nPolнcia Militar » 150 - $3500\nPolнcia Civil » 120 - $2900\nPolнcia Federal » 80 - $5950\nDelegado » 85 - $6900\nBope » 100 - $1150\nSWAT » 115 - $1200\nNarcуticos » 110 - $1250\nFBI » 150 - $2600\nInterpol » 350 - $13000\nVoltar", "Ok", "Cancelar");
return true;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк estб punido e nгo pode pegar esta profissгo");
}
}
if(listitem == 4)
{
ShowPlayerDialog(playerid, industriais, DIALOG_STYLE_LIST, "Transportes » {FF0000}Level {FFFFFF}- {00FF00}Salario", "Caminhoneiro » 0 - $3500\nPetroleiro » 0 - $3500\nVoltar", "Ok", "Cancelar");
}
if(listitem == 5)
{
ShowPlayerDialog(playerid, governo2, DIALOG_STYLE_LIST, "Governo » {FF0000}Level {FFFFFF}- {00FF00}Salario", "Prefeito » 500 - $25000\nCorregedor » 800 - $11500\nVoltar", "Ok", "Cancelar");
}
if(listitem == 6)
{
ShowPlayerDialog(playerid, organizadores, DIALOG_STYLE_LIST, "Outros » {FF0000}Level {FFFFFF}- {00FF00}Salario", "Empregador » 500 - $6800\nDrifter King » 1000 - $1200\nAtirador Elite » 500 - $8500\nNinja » 400 - $1500\nVoltar", "Ok", "Cancelar");
}
}
}