17.08.2012, 14:54
Es sencillo, Agregas otro if en el comando y seria asн:
Claro, cambiando lo de 'IDFACCIУN' Por la ID de ella y lo que te he marcado como POSX, POSY, POSZ, Distancia.
pawn Код:
if(pInfo[targetid][pMember] == IDFACCION || JInfo[targetid][pLeader] == IDFACCION)
{
if(PlayerToPoint(DISTANCIA, playerid, POSX, POSY, POSZ))
{
new gob[] = "Seguridad\nChofйr\nBotiquin\nRopa Normal";
SafeDialogEx(playerid,EQUIPO_GOB,DIALOG_STYLE_LIST,">> Tu Facciуn<<",gob,"Equipar","Cancelar");
}
}