Nuvemem
;]
Wtf.. what language is that :blink:
I think he mean :
stupid? stupid?
stupid moron
thebill = phonetically in polish word "debil" = moron
Wtf.. what language is that :blink:
my own :>Wtf.. what language is that :blink:
function onStepIn(cid, item, frompos, item2, topos)
playerpos = getPlayerPosition(cid)
newpos = {x=59, y=152, z=0}
if item.uid == 5003 then
getThingfromPos(playerpos)
doSendMagicEffect(playerpos,2)
doTeleportThing(cid,newpos)
doSendMagicEffect(newpos,10)
end
end
<movevent event="StepIn" uniqueid="5003" script="elevator1.lua"/>
My movement teleporters stopped working when I updated to 0.3.2
Code:function onStepIn(cid, item, frompos, item2, topos) playerpos = getPlayerPosition(cid) newpos = {x=59, y=152, z=0} if item.uid == 5003 then getThingfromPos(playerpos) doSendMagicEffect(playerpos,2) doTeleportThing(cid,newpos) doSendMagicEffect(newpos,10) end end
Can't see any problems with it.Code:<movevent event="StepIn" uniqueid="5003" script="elevator1.lua"/>
new format:<movevent event="StepIn" script="path/to/file.lua"
<movevent type="StepIn" event="script" value="path/to/file.lua"
there's a change in movements.xml
old format:
new format:
<movevent type="StepIn" actionid="42330" event="script" value="leavearena.lua"/>
Mind the 'type' change after <movement - I didn't notice it at first. Of course the complete line should look like this:
Assertion failed!
Program: ...
File: ../luascript.h
Line: 289