What's new

[8.31] Skrypt pomocy

Status
Not open for further replies.

damian52

Active User
Joined
Apr 25, 2008
Messages
102
Reaction score
3
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

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" />

mostjg7.jpg

Prosze o pomoc



Pozdrawiam
 
Status
Not open for further replies.
Top