• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Inq Teleports problem

8683984

New Member
Joined
Jun 5, 2009
Messages
95
Reaction score
2
Location
Sweden
okej so after i killed the boss monsters the teleports dont show up and your kinda stuck in the room if you dont go back ofc..


Lua:
 function onUse(cid, item, fromPosition, itemEx, toPosition)





-- tablica z pozycjami lawy 


local Lawa = {


{x=921,y=1259,z=15}, 

{x=921,y=1258,z=15}, 

{x=921,y=1257,z=15}, 

{x=921,y=1256,z=15},

{x=921,y=1255,z=15},

{x=921,y=1254,z=15},

{x=920,y=1254,z=15},

{x=920,y=1255,z=15},

{x=920,y=1256,z=15},

{x=920,y=1257,z=15},

{x=920,y=1258,z=15},

{x=920,y=1259,z=15},


} 






if (itemEx.uid == 12344) then -- unique kamienia

if (getGlobalStorageValue(5544) == -1) then 

local Teleport = doCreateTeleport(1387, {x=0,y=0,z=0}, {x=921,y=1256,z=15}) -- tworzenie teleportu 

doSetItemActionId(Teleport, 12345)


for i = 1, #Lawa do -- petla tworzenia lawy

 doCreateItem(5815, 1, Lawa[i]) -- funkcja tworzenia lawy 
 doSendMagicEffect(Lawa[i], CONST_ME_POFF)


end
end

else 
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It\'s not time yet.") 
end 
end

thx for the help
 


It was tested on tfs 0.2, sure it works on 0.4?

And btw they are saying "put this after flags"
Lua:
    <script>
        <event name="Inquisition"/>
    </script>
the middle one stays in bblack text on 0.4 wich means it won't work...

the console will say "cannot addmonster ushuriel" and prolly say the same on the rest of the mosnter aswell if he will put that after every [/flags] on all the inq bosses...? correct me if i'm wrong

so i guess that script won't work
 
Last edited:
And btw they are saying "put this after flags"
Lua:
    <script>
        <event name="Inquisition"/>
    </script>
the middle one stays in bblack text on 0.4 wich means it won't work...
No, just because it shows black text in notepad++ doesn't mean it won't work. Actually it works.

It wasnt tested on 0.2 thats an old post, the script was updated many times by now.
 
Last edited:
Back
Top