PLEASE ANSWER MY LAST 4 THREADS WERE IGNORED
I have this script i got for a event but the problem is that the second part doesnt happen. after "function removeTP(item,pos)"
I have this script i got for a event but the problem is that the second part doesnt happen. after "function removeTP(item,pos)"
local minutes = 3
local tpto2 = {x = 67, y = 488, z = 10}
local tp5 = {x = 67, y = 483, z = 9}
local tp4 = {x = 73, y = 488, z = 9}
local tp3 = {x = 61, y = 488, z = 9}
local tp2 = {x = 67, y = 493, z = 9}
local tp = {x = 82, y = 67, z = 7}
local tpto = {x = 68, y = 488, z = 9}
function onSay(cid,words,param)
local s = 1000
doCreateTeleport(1387,tpto,tp)
doBroadcastMessage('The FFA Event has started, go to the teleport in the depot of Dorion.. It will disappear in three minutes, dont worry you dont die in this event.')
executeRaid('ffa')
addEvent(removeTP,3*60*1000)
return true
end
function removeTP(item,pos)
local v = {x=82,y=67,z=7,stackpos=253}
local r = getTileItemById(v,1387).uid
if r > 0 then
doRemoveItem(r)
doBroadcastMessage('The Monster Arena portal has been removed.')
doCreateTeleport(1387,tpto2,tp2)
doCreateTeleport(1387,tpto2,tp3)
doCreateTeleport(1387,tpto2,tp4)
doCreateTeleport(1387,tpto2,tp5)
end
end
Last edited: