• 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!

Solved 7.6 SQM that requires PACC

Insane329

New Member
Joined
Jun 24, 2014
Messages
84
Reaction score
0
Hello there! I got a trouble. I am back hosting open tibia servers and i have to solve a problem. I want to make a tile, this tile on rookgaard, that requires pacc. Here is my code:

Code:
local pos = {x = 32060, y = 32193, z = 7}
--Position where player gets teleported if he DOES NOT HAVE premium
function onStepIn(cid, item, position, fromPosition)
if(not(isPremium(cid))) then
doTeleportThing(cid, pos)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
end
return true
end

and movements.xml
Code:
    <movevent event="StepIn" actionid="9922" script="premtile.lua"/>


The best thing is that when i was working on 7.6 servers, THERE WAS NO MOVEMENTS wtf.


Problem is here, that when i stay on this tile with action id 9922 i got teleported 1 sqm down, to "z=6".
 
Back
Top