Como crear /equiipo.
#2

Es sencillo, Agregas otro if en el comando y seria asн:

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");
}
}
Claro, cambiando lo de 'IDFACCIУN' Por la ID de ella y lo que te he marcado como POSX, POSY, POSZ, Distancia.
Reply


Messages In This Thread
Como crear /equiipo. - by TheThug - 17.08.2012, 14:12
Respuesta: Como crear /equiipo. - by Zume - 17.08.2012, 14:54
Respuesta: Como crear /equiipo. - by TheThug - 17.08.2012, 15:15
Respuesta: Como crear /equiipo. - by Zume - 17.08.2012, 15:30
Respuesta: Como crear /equiipo. - by TheThug - 17.08.2012, 15:50

Forum Jump:


Users browsing this thread: 1 Guest(s)