Nгo esta carregando a dialog -
denis15711 - 28.07.2012
Nгo sei pq eu mudei para o Samp 0.3e n carrega o dialog emprego no samp 0.3d carregava alguem me ajuda ae cуdigo :
pawn Код:
if(dialogid == emprego)
{
if(response)
{
if(listitem == 0)
{
if(PlayerInfo[playerid][pVend] == 1 || PlayerInfo[playerid][pVenda] == 1 || PlayerInfo[playerid][pSeguranca] == 1) return SendClientMessage(playerid, ERRO, "Vocк Ja estб em um emprego use : /sairemprego!");
if(GetPlayerScore(playerid) < 10) return true;
new giveplayer[MAX_PLAYER_NAME];
new giveplayerid;
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
PlayerInfo[giveplayerid][pVend] = 1;
SendClientMessage(playerid, COR_PRINCIPAL, "Vocк escolheu a profisгo Vendedor de Drogas");
}
if(listitem == 1)
{
if(PlayerInfo[playerid][pVend] == 1 || PlayerInfo[playerid][pVenda] == 1 || PlayerInfo[playerid][pSeguranca] == 1) return SendClientMessage(playerid, ERRO, "Vocк Ja estб em um emprego use : /sairemprego!");
if(GetPlayerScore(playerid) < 10) return true;
new giveplayer[MAX_PLAYER_NAME];
new giveplayerid;
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
PlayerInfo[giveplayerid][pVenda] = 1;
SendClientMessage(playerid, COR_PRINCIPAL, "Vocк escolheu a profisгo Vendedor Ambulante");
}
if(listitem == 2)
{
if(PlayerInfo[playerid][pVend] == 1 || PlayerInfo[playerid][pVenda] == 1 || PlayerInfo[playerid][pSeguranca] == 1) return SendClientMessage(playerid, ERRO, "Vocк Ja estб em um emprego use : /sairemprego!");
if(GetPlayerScore(playerid) < 10) return true;
if(PlayerInfo[playerid][pVip] >= 1)
{
new giveplayer[MAX_PLAYER_NAME];
new giveplayerid;
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
PlayerInfo[giveplayerid][pSeguranca] = 1;
SendClientMessage(playerid, COR_PRINCIPAL, "Vocк escolheu a profisгo Seguranзa");
}
else
{
SendClientMessage(playerid, ERRO, "Vocк nгo й VIP para pegar este emprego");
}
}
}
}
Re: Nгo esta carregando a dialog -
Coreia - 28.07.2012
e al clika ? listitem e?
Re: Nгo esta carregando a dialog -
denis15711 - 28.07.2012
Nгo aparece nada vey eu colokei dnv o samp 0.3d deu certo affs samp 0.3e uma bosta
Re: Nгo esta carregando a dialog -
Marlon_Lorran - 28.07.2012
Nгo й questгo do sa:mp pode ser no seu cуdigo, me mostre o comando que vocк digita para abrir o dialogo
Re: Nгo esta carregando a dialog -
denis15711 - 28.07.2012
Fmz mais da certo no samp 0.3d da certo no samp 0.3e nao da acabei de testar noos dois cуdigo :
pawn Код:
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(PlayerToPoint(1.0, playerid,362.6603,173.7185,1008.3828))
{
ShowPlayerDialog(playerid, emprego, DIALOG_STYLE_LIST, "Empregos :", "Vendedor de Drogas\nVendedor Ambulante\nSeguranзa [VIP]", "Selecionar", "Cancelar");
}
}
Re: Nгo esta carregando a dialog -
.FuneraL. - 28.07.2012
Include desatualizada entгo, se no 0.3d funciona e no 0.3e nгo, deve ser o unico motivo.
Re: Nгo esta carregando a dialog -
denis15711 - 28.07.2012
Nгo sei ent pq as includes й do samp 0.3e q ja vem nele
Re: Nгo esta carregando a dialog -
denis15711 - 29.07.2012
Mals galera eu q estou errado colokei so para quem tem 10 score a mais para pegar um emprego