[Ajuda] Como passo esse dialog para um comando ?
#8

Quote:
Originally Posted by FerrariL
View Post
Qual й a funзгo que seta a arma no slot ?
Tem como colocar no mesmo slot dos acessуrios n tem ?

Code:
BPS::RemovePlayerAttachedObjectEx(playerid,SlotReal)
{
	if(ItemSlotA[playerid][SlotReal] != -1)
	{
	    if(ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Aureola1 && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Aureola2
		&& ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Celular && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Roubo
		&& ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Radio && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Pa
		&& ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Maconha && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Escudo
		&& ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Planta && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Corrente
		&& ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Ejetar && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Ejetar2
		&& ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Escudo && ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Colete
		&& ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] != Vaga_Taser)
	 	{
	        if(IsAItem(playerid,SlotDItem[playerid][ItemSlotA[playerid][SlotReal]],0))
	    	{
	    	    if(TipoItem[playerid] != 0)
			    {
	        		itemnamochila(playerid,SlotDItem[playerid][ItemSlotA[playerid][SlotReal]]);
				}
			}
	    }
	    RemovePlayerAttachedObject(playerid, ItemSlotA[playerid][SlotReal]);
	    ItemSlotP[playerid][ItemSlotA[playerid][SlotReal]] = -1;
	    SlotDItem[playerid][ItemSlotA[playerid][SlotReal]] = -1;
	    ObjectLoad[playerid][ItemSlotA[playerid][SlotReal]][Objindexid2] = 0;
	    ItemSlotA[playerid][SlotReal] = -1;
   }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 10 Guest(s)