Witam, mam taki problem, ?e na ma?o kt?rych polach ze ?niegiem pojawiaj? si? ?lady st?p, a w?a?ciwie to pojawiaj? si? jedynie na polu o ID 670, a na reszcie(ID 6580-6593) totalnie nic.
Tak to u mnie wygl?da:
movements.xml
snow.lua
Wie kto? jak to naprawi??
Tak to u mnie wygl?da:
movements.xml
Kod:
<movevent type="StepIn" itemid="670" event="script" value="snow.lua"/>
<movevent type="StepIn" itemid="6594" event="script" value="snow.lua"/>
snow.lua
Kod:
TILE_SNOW = 670
TILE_FOOTPRINT_I = 6594
TILE_FOOTPRINT_II = 6598
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if(isPlayerGhost(cid)) then
return true
end
if(item.itemid == TILE_SNOW) then
doTransformItem(item.uid, TILE_FOOTPRINT_I)
doDecayItem(item.uid)
elseif(item.itemid == TILE_FOOTPRINT_I) then
doTransformItem(item.uid, TILE_FOOTPRINT_II)
doDecayItem(item.uid)
else
doTransformItem(item.uid, TILE_FOOTPRINT_I)
end
return true
Wie kto? jak to naprawi??

