E ae Galera, Vo postar aqui um script que pode ser util pra qm gostad e rpg e usa mta criatividade!
Agora o Script!Vá em actions/tolls e add um arkivo chamado Scall.lua
dentro dele cole isto:
local holeId = {[color=Blue]3369, 7062, 7064, 7066, 392, 408, 409, 427, 428, 430, 462, 469, 470, 482, 484, 485, 489, 924, 3135, 3136[/color]}
function onUse(cid, item, fromPosition, itemEx, toPosition)
local groundTile = getThingfromPos(toPosition)
if groundTile.itemid == 7062 or groundTile.itemid == 7066 or groundTile.itemid == [color=Red]3362[/color] then
doTeleportThing(cid, {x = toPosition.x, y = toPosition.y - 1, z = toPosition.z - 1}, FALSE)
elseif isInArray(holeId, itemEx.itemid) == TRUE then
local hole = getThingfromPos({x = toPosition.x, y = toPosition.y, z = toPosition.z + 1, stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE})
if hole.itemid > 0 then
doTeleportThing(hole.uid, {x = toPosition.x, y = toPosition.y + 1, z = toPosition.z}, FALSE)
else
doPlayerSendCancel(cid, "Sorry, not possible.")
end
else
return FALSE
end
return TRUE
end
Depois vá em actions.xml e coloque:
----------CONFIGURANDO---------
é o id da corda, no caso a elvenhair
é os pisos aond pode ter a montanha/parede
é o id da montanha/parede que vc vai escalar!
pronto Configure e gogo rpg!
c quiser deichar assim eh melhor... pois voce pod bugar algo...c vc souber mudar direitin, use a criatividade!
Nesse script vc esacala a Stone wall com a elvehair rope!
Ate a proxima! :yes: