[ajuda]na chave final ! -
Carlos_barbosa - 19.05.2012
if(dialogid == LICENCAS_ARMAS)
{
if(response)
{
if(listitem == 0)
{
//Armas
if(GetPlayerMoneyEx(playerid) < 5800) return SendClientMessage(playerid,COLOR_GREY,"Vocк nгo tem R$5800 para comprar!");
Controle(playerid, 1);
GivePlayerMoneyEx(playerid,-5800);
BizzInfo[5][bTill] += 5800;
ExtortionBiz(5, 5800);
PlayerInfo[playerid][pGunLic] = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк Comprou a Licenзa De Armas!");
ai esta so que dps do sendclientmessage a ultima nгo consigo fazer uma chave e sempre que faco da erro pode ser simples mais nao esta dando sou iniciante ainda >s
Re: [ajuda]na chave final ! -
leonardo1434 - 19.05.2012
por favor, usar [.pawn] [./pawn] e poste o full code, pois assim nгo da.
Sem os pontos e o code no meio.
Re: [ajuda]na chave final ! -
.FuneraL. - 19.05.2012
pawn Код:
if(dialogid == LICENCAS_ARMAS)
{
if(response)
{
if(listitem == 0)
{
//Armas
if(GetPlayerMoneyEx(playerid) < 5800) return SendClientMessage(playerid,COLOR_GREY,"Vocк nгo tem R$5800 para comprar!");
Controle(playerid, 1);
GivePlayerMoneyEx(playerid,-5800);
BizzInfo[5][bTill] += 5800;
ExtortionBiz(5, 5800);
PlayerInfo[playerid][pGunLic] = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк Comprou a Licenзa De Armas!");
}
}
}
return 0;
}
Tente.
Re: [ajuda]na chave final ! -
Delete_ - 19.05.2012
pawn Код:
if(dialogid == LICENCAS_ARMAS)
{
if(response)
{
if(listitem == 0)
{
if(GetPlayerMoneyEx(playerid) < 5800) return SendClientMessage(playerid,COLOR_GREY,"Vocк nгo tem R$5800 para comprar!");
Controle(playerid, 1);
GivePlayerMoneyEx(playerid,-5800);
BizzInfo[5][bTill] += 5800;
ExtortionBiz(5, 5800);
PlayerInfo[playerid][pGunLic] = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк Comprou a Licenзa De Armas!");
}
}
}
Re: [ajuda]na chave final ! -
leonardo1434 - 19.05.2012
pawn Код:
if(dialogid == LICENCAS_ARMAS)
{
if(response)
{
if(listitem == 0)
{ // aki embaixo apenas adicionei o = pois se for = ele podera comprar tbm.
if(GetPlayerMoneyEx(playerid) <= 5800) return SendClientMessage(playerid,COLOR_GREY,"Vocк nгo tem R$5800 para comprar!");
Controle(playerid, 1);
GivePlayerMoneyEx(playerid,-5800);
BizzInfo[5][bTill] += 5800;
ExtortionBiz(5, 5800);
PlayerInfo[playerid][pGunLic] = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк Comprou a Licenзa De Armas!");
}
}
}
Re: [ajuda]na chave final ! -
Carlos_barbosa - 19.05.2012
ai sim vlw uma duvida tipo quando da um erro no pawno que nгo pareзe a soluзгo pareзe la pawno library como acho o erro falto alguma chave e isso ?