Hello friends I have a problem in the script, see if you can help me
script:
- - - Updated - - -
- - - Updated - - -
Hello friends, I have a problem on my server, I'm using TFS 1.0, I migrated my overall this version can not open the market, anyone know how to solve?
- - - Updated - - -
Erro in arenaroon.lua
getstorage
local monster_uid = type(getStorage(arena_room+100)) == 'string' and 0 or getStorage(arena_room+100)
script:
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if(item.actionid == 104) then
doPlayerTeleportIfStorage(cid, STORAGE_DRAGON, 2, {x = 33028, y = 31085, z = 13}, lastPosition)
elseif(item.actionid == 205) then
doPlayerTeleportIfStorage(cid, STORAGE_ZIZZLE, 1, {x = 33240, y = 31246, z = 10}, lastPosition)
elseif(item.actionid == 205) then
doPlayerTeleportIfStorage(cid, STORAGE_DRAGON, 2, {x = 33028, y = 31085, z = 13}, lastPosition)
elseif(item.actionid == 125) then
doPlayerTeleportIfStorage(cid, STORAGE_END, 2, {x = 33361, y = 31397, z = 9}, lastPosition)
elseif(item.actionid == 112) then
addEvent(doPlayerTeleportIfStorage, 1000, cid, STORAGE_BOSS, 4, {x = 33054, y = 31167, z = 14})
elseif(item.actionid == 135) then
doPlayerTeleportIfStorage(cid, STORAGE_END, 2, {x = 33093, y = 31122, z = 12}, lastPosition)
elseif(item.actionid == 136) then
if(getPlayerItemCount(cid, 12629) >= 1) then
doPlayerRemoveItem(cid, 12629, 1)
doPlayerTeleportIfStorage(cid, STORAGE_END, 2, {x = 33084, y = 31214, z = 8}, lastPosition)
else
doTeleportThing(cid, fromPosition)
end
end
return true
end
- - - Updated - - -
- - - Updated - - -
Hello friends, I have a problem on my server, I'm using TFS 1.0, I migrated my overall this version can not open the market, anyone know how to solve?
- - - Updated - - -
Erro in arenaroon.lua
getstorage
local monster_uid = type(getStorage(arena_room+100)) == 'string' and 0 or getStorage(arena_room+100)
Last edited: