07.12.2012, 03:06
Intenta primero comprobar la posiciуn y luego la facciуn. Probб asн:
Te dejo un ejemplo, luego cambia el resto.
pawn Код:
if(EnPos(playerid,2,InfoEntr[e][entrX],InfoEntr[e][entrY],InfoEntr[e][entrZ]))//si esta en entrada
{
if(InfoEntr[e][entrFaccion] == 0 || InfoJugador[playerid][jMiembro] == InfoEntr[e][entrFaccion]) // si es de la facciуn o si no requiere facciуn.
{
MostrarSombra(playerid);
CambiarPosInt(playerid,InfoEntr[e][entrSX],InfoEntr[e][entrSY],InfoEntr[e][entrSZ],InfoEntr[e][entrInt],InfoEntr[e][entrVW]);
}
else
{
// error.
}
}

