Odp: Poszukuje skryptu na kratke od lvl
Wszystkie skrypty powinny dzia?a?.
Po dodaniu w map edytorze actionID potrzebny jest reset, ale pewnie wiesz?
[lua]local cfg = {level = 800, actionid = 6546}
function onStepIn(cid, item, position, fromPosition)
if (getPlayerLevel(cid) >= cfg.level) and item.actionid == cfg.actionid then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Udalo sie przejsc.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Musisz posiadac " .. cfg.level .. " level by przejsc dalej.")
doTeleportThing(cid, fromPosition)
end
return true
end[/lua]