[Ajuda] objetos no player
#6

Code:
                                       if(item == 19079) //  Arara
		{
  			new string[256];
            SendClientMessage(playerid,0x00ccccFF,"* Vocк usou um acessorio, retirar use: /retiraracessorio !");
            SendClientMessage(playerid,0x00ccccFF,"* Para editar, use: /editaracessorio !");
              FecharInventario(playerid);
                      CancelSelectTextDraw(playerid);
            SetPlayerAttachedObject(playerid, Slot_Efeito, item, 1,0.1,0.20,0.0,180.0,100.0,0.0);
            EditAttachedObject(playerid,Slot_Efeito);
            format(string, sizeof string, "* %s usou um Acessorio Raro.", PlayerName(playerid));
			SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            InventarioAberto[playerid] = 0;
		    return 1;
        }
                                                   if(item == 19100) //  Chapeu policia
		{
  			new string[256];
            SendClientMessage(playerid,0x00ccccFF,"* Vocк usou um acessorio, retirar use: /retiraracessorio !");
            SendClientMessage(playerid,0x00ccccFF,"* Para editar, use: /editaracessorio !");
              FecharInventario(playerid);
                      CancelSelectTextDraw(playerid);
            SetPlayerAttachedObject(playerid, Slot_Efeito, item, 1,0.1,0.20,0.0,180.0,100.0,0.0);
            EditAttachedObject(playerid,Slot_Efeito);
            format(string, sizeof string, "* %s usou um Acessorio Raro.", PlayerName(playerid));
			SendClientMessageInRange(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            InventarioAberto[playerid] = 0;
		    return 1;
        }
meus itens estгo assim cada 1
Reply


Messages In This Thread
objetos no player - by Jorginhoda12 - 09.11.2017, 14:53
Re: objetos no player - by RodrigoMSR - 09.11.2017, 15:55
Re: objetos no player - by Jorginhoda12 - 09.11.2017, 16:01
Re: objetos no player - by RodrigoMSR - 09.11.2017, 16:03
Re: objetos no player - by Jorginhoda12 - 09.11.2017, 16:13
Re: objetos no player - by Jorginhoda12 - 09.11.2017, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)