djlucas15
New Member
My dcript are this...
This script working in TFS 0.3.5pl1 more not working in TFS 0.3.6pl1
I need help here, please help-me!
function onStepIn(cid, item, frompos, item2, topos)
if item.itemid == 5023 then
playername = getPlayerName(cid)
statuapos = {x=438, y=145, z=6, stackpos=1}
statua = getThingfromPos(statuapos).uid
stonepos22 = {x=436, y=168, z=7, stackpos=1}
stone22 = getThingfromPos(stonepos22).uid
stonepos23 = {x=436, y=170, z=7, stackpos=1}
stone23 = getThingfromPos(stonepos23).uid
alavancapos = {x=403, y=182, z=7, stackpos=3}
alavanca = getThingfromPos(alavancapos)
player1pos = {x=435, y=172, z=7, stackpos=253}
player1 = getThingfromPos(player1pos)
nplayer1pos = {x=441, y=152, z=6}
sta = doCreateItem(1444, 1, statuapos)
doTeleportThing(0, player1.uid,nplayer1pos, 0)
doSendMagicEffect(nplayer1pos,28)
setPlayerStorageValue(cid,3532,1)
doCreatureSay(cid, "Parabens bravo guerreiro!", TALKTYPE_ORANGE_1)
doTransformItem(alavanca.uid,alavanca.itemid-1)
doRemoveItem(statua)
doSetItemSpecialDescription(sta,"A honra e gloria para "..playername..", por terminar o nivel Greenhorn.")
doRemoveItem(stone22)
doRemoveItem(stone23)
end
return 1
end
This script working in TFS 0.3.5pl1 more not working in TFS 0.3.6pl1
I need help here, please help-me!