BU

Item Que Ao Por No Sitio Da Bota Transforma Noutro Outfit

Por Bubbleman23, 11 de abr. de 2011 em Archived

9
1.1k
Bubbleman23B
11 de abril de 2011 às 12:11

Boa tarde , gostava que me falassem como botar com que a bota ao ser posta do sitio dela faça com que voce se transforme num tigre.

tinfer3T
11 de abril de 2011 às 12:44

com certeza você não é brasileiro,eu não entendi bem oque você quis dizer mais basicamente é ao equipar uma boots no slot ele mudar a outfit do jogador?

Bubbleman23B
11 de abril de 2011 às 13:06

Xd não sou brsileiro nã obrigado por notar isso. sim é verdade é mesmo isso.

tinfer3T
11 de abril de 2011 às 13:21

tente usar,:

function onEquip(cid, item, position, fromPosition)
local outfit = {lookType = 125}
doSetCreatureOutfit(cid, outfit, -1)
return TRUE
end
function onDeEquip(cid, item, slot)
doRemoveCondition(cid, CONDITION_OUTFIT)
return TRUE
end

Bubbleman23B
11 de abril de 2011 às 22:09

Pode me dizer a tag e eu boto só isso no bloco de notaS?

tinfer3T
12 de abril de 2011 às 09:49

movements.xml

 

<movevent type="Equip" itemid="BOOTS ID" slot="feet" event="function" value="script name.lua"/>
	<vocation id="1"/>
	<vocation id="5" showInDescription="0"/>
	<vocation id="2"/>
	<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="BOOTS ID" slot="feet" event="function" value="script name.lua"/>

Bubbleman23B
12 de abril de 2011 às 10:25

Quando eu boto

<movevent type="Equip" itemid="BOOTS ID" slot="feet" event="function" value="script name.lua"/>

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="BOOTS ID" slot="feet" event="function" value="script name.lua"/>

 

no xml ele diz enable to open movements.xml quando boto só

<movevent type="DeEquip" itemid="BOOTS ID" slot="feet" event="function"

não dá. pode ajduar denovo ai xD

Editado Abril 12 por Bubble23

tinfer3T
13 de abril de 2011 às 13:13

did not work guy?

try to put like this then:

<movevent type="Equip" itemid="ID BOOTS" slot="feet" event="script" value="script name.lua"/>
<movevent type="DeEquip" itemid="ID BOOTS" slot="feet" event="script" value="script name.lua"/>

Bubbleman23B
15 de abril de 2011 às 20:53

i already know that thanks mate.