[Ajuda] GodFather -
JonasK15 - 12.02.2012
Pessoal queria perguntar a vocкs, como eu retiro esse auto comando de quando um player entra na AmmuNation ele й preso, por favor me ajudem.
Re: [Ajuda] GodFather - rjjj - 12.02.2012
Procure no seu GM por:
Jailed for going to ammunation .
Vocк deverб chegar ao cуdigo abaixo. Quando isto acontecer, apenas apague-o
.
pawn Код:
else if(PlayerToPoint(20, i,292.0274,-36.0291,1001.5156))
{//Ammunation 1
GameTextForPlayer(i, "~r~Jailed for going to ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 0;
PlayerInfo[i][pJailed] = 1;
}
else if(PlayerToPoint(20, i,308.2740,-141.2833,999.6016))
{//Ammunation 2
GameTextForPlayer(i, "~r~Jailed for going to ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 0;
PlayerInfo[i][pJailed] = 1;
}
else if(PlayerToPoint(20, i,294.3212,-108.7869,1001.5156))
{//Ammunation 3 (small one's)
GameTextForPlayer(i, "~r~Jailed for going to ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 0;
PlayerInfo[i][pJailed] = 1;
}
else if(PlayerToPoint(20, i,288.8592,-80.4535,1001.5156))
{//Ammunation 4 (small one's)
GameTextForPlayer(i, "~r~Jailed for going to ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 0;
PlayerInfo[i][pJailed] = 1;
}
else if(PlayerToPoint(20, i,316.9583,-165.4707,999.6010))
{//Ammunation 5 (Unprotected)
GameTextForPlayer(i, "~r~Jailed for going to ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 0;
PlayerInfo[i][pJailed] = 1;
}
Espero ter ajudado
.
Re: [Ajuda] GodFather -
JonasK15 - 12.02.2012
Obrigado, sу estava confuso se eu apagava ou nгo, Muito obrigado ganhou meu +
Re: [Ajuda] GodFather -
paulor - 12.02.2012
Apague isso do public SetPlayerUnjail()
pawn Код:
else if(PlayerToPoint(20, i,292.0274,-36.0291,1001.5156))
{//Ammunation 1
GameTextForPlayer(i, "~r~Voce foi para a cadeia porque entrou numa ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 300;
PlayerInfo[i][pJailed] = 1;
}
else if(PlayerToPoint(20, i,308.2740,-141.2833,999.6016))
{//Ammunation 2
GameTextForPlayer(i, "~r~Voce foi para a cadeia porque entrou numa ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 300;
PlayerInfo[i][pJailed] = 1;
}
else if(PlayerToPoint(20, i,294.3212,-108.7869,1001.5156))
{//Ammunation 3 (small one's)
GameTextForPlayer(i, "~r~Voce foi para a cadeia porque entrou numa ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 300;
PlayerInfo[i][pJailed] = 1;
}
else if(PlayerToPoint(20, i,288.8592,-80.4535,1001.5156))
{//Ammunation 4 (small one's)
GameTextForPlayer(i, "~r~Voce foi para a cadeia porque entrou numa ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 300;
PlayerInfo[i][pJailed] = 1;
}
else if(PlayerToPoint(20, i,316.9583,-165.4707,999.6010))
{//Ammunation 5 (Unprotected)
GameTextForPlayer(i, "~r~Voce foi para a cadeia porque entrou numa ammunation", 5000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i,264.6288,77.5742,1001.0391);
PlayerInfo[i][pJailTime] = 300;
PlayerInfo[i][pJailed] = 1;
}
@edit
ops postei dps de todos. kkk nгo tinha visto antes.
Re: [Ajuda] GodFather -
JonasK15 - 12.02.2012
Nгo s preocupe, ganhou meu + tbm. XD