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

help door resets 1.3

denis1533

New Member
Joined
Jun 20, 2021
Messages
5
Reaction score
0
hello community, I have an action door x reset x storage, it's not working, it doesn't give an error! but it doesn't work can someone help me!!
local resetDoor = Action()
function resetDoor.onUse(cid, item, fromPosition)
local s = 1020
local t = 10

if getPlayerStorageValue(cid, s) >= t then
doTransformItem(item.uid, 7047)
doTransformItem(item.uid, 7048)
doTeleportThing(cid, fromPosition, true)
else
doPlayerSendCancel(cid, "Voce não tem mais de "..t.." resets.")
end
return true
end
resetDoor:register()
resetDoor:uid(25684)
 
Back
Top