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

TFS 1.X+ Cruel Doubt

darcioantonio

www.adventurerpg.com.br
Joined
Jul 30, 2013
Messages
165
Solutions
1
Reaction score
4
Location
Brasil
Twitch
darcio_
YouTube
UCEXCOEw_dYchojHNz
TFS: 1.2
CLiente: 10.90


I have this script.
Lua:
function onStartup(cid, creature, interval, player, creature)
addEvent(function()
Game.broadcastMessage("1", MESSAGE_STATUS_WARNING)
end, 5*1000)

addEvent(function()
Game.broadcastMessage("2", MESSAGE_STATUS_WARNING)
end, 10*1000)

addEvent(function()
Game.broadcastMessage("3", MESSAGE_STATUS_WARNING)
end, 15*1000)

addEvent(function()
Game.broadcastMessage("4", MESSAGE_STATUS_WARNING)
end, 20*1000)
end

It would have some function to the script an example in number 3, and restart the script again, I say this because I created an event that is to be automatic, when it arrives at the end of the event it resumes, but if any player wins the event ahead of time , the event indentifies this and resumes the count again. I created a Tibia Battle Royale game, so it starts and lasts for 15 minutes if no guanhar in the end all die, now if there is only one remaining player on the map he wins and the time count event stops and resumes again

something like / reload globalevents
If the character wins the match
 
Last edited:
Back
Top