Witam
Mam taki ma?y problem mianowicie szuka?em skrypt?w na most dla pacca i ?aden nie dzia?a mam ots na silniku Eldin 8.31 SQL pomo?e kto? mo?e kto? ma dzia?ajacy skrypt na tym silniku
w movements/scripts zrobilem folder pacc.lua i wkleilem to
pozniej w movements.xml dodalem takie linijkni
Prosze o pomoc
Pozdrawiam
Mam taki ma?y problem mianowicie szuka?em skrypt?w na most dla pacca i ?aden nie dzia?a mam ots na silniku Eldin 8.31 SQL pomo?e kto? mo?e kto? ma dzia?ajacy skrypt na tym silniku
w movements/scripts zrobilem folder pacc.lua i wkleilem to
doTeleportThing(cid, pos)
doPlayerSendTextMessage(cid,22,'Sorry, you dont have premium account')
elseif item.actionid == east then
pos.x = pos.x + 1
doTeleportThing(cid, pos)
doPlayerSendTextMessage(cid,22,'Sorry, you dont have premium account')
elseif item.actionid == west then
pos.x = pos.x - 1
doTeleportThing(cid, pos)
doPlayerSendTextMessage(cid,22,'Sorry, you dont have premium account')
elseif item.actionid == south then
pos.y = pos.y + 1
doTeleportThing(cid, pos)
doPlayerSendTextMessage(cid,22,'Sorry, you dont have premium account')
end
end
function onStepOut(cid, item, pos)
if item.itemid == 425 then
doTransformItem(item.uid, 426)
end
end
pozniej w movements.xml dodalem takie linijkni
<movevent event="StepIn" actionid="4001" script="pacc.lua" />
<movevent event="StepIn" actionid="4002" script="pacc.lua" />
<movevent event="StepIn" actionid="4003" script="pacc.lua" />
<movevent event="StepIn" actionid="4004" script="pacc.lua" />
<movevent event="StepOut" actionid="4001" script="pacc.lua" />
<movevent event="StepOut" actionid="4002" script="pacc.lua" />
<movevent event="StepOut" actionid="4003" script="pacc.lua" />
<movevent event="StepOut" actionid="4004" script="pacc.lua" />
Prosze o pomoc
Pozdrawiam