Dota.lua
Blue.lua
Error]\/\/
We run into this problem, it changes its shape for a second, and then it goes back to its previous appearance
Lua:
function onStepIn(cid, item, pos, frompos)
local positions = {
{x=691, y=42, z=7},
{x=595, y=42, z=7}
}
local destino = math.random(#positions)
doTeleportThing(cid,positions[destino], true)
doSendMagicEffect(getPlayerPosition(cid), 10)
end
Code:
local conditionBlue = Condition(CONDITION_OUTFIT)
conditionBlue:setOutfit({lookType = 128, lookHead = 88, lookBody = 114, lookLegs = 88, lookFeet = 88, lookAddons = 2})
function onStepIn(cid, item, frompos, item2, topos)
local player = Player(cid)
if not player then
return true
end
player:addCondition(conditionBlue)
Game.setStorageValue(140400, Game.getStorageValue(140400) + 1)
Game.broadcastMessage(string.format('%s has joined the DotA! [%s/100].', player:getName(), Game.getStorageValue(140400)), MESSAGE_STATUS_WARNING)
end
Code:
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/eventos/blue.lua:onStepIn
data/movements/scripts/eventos/blue.lua:10: attempt to perform arithmetic on a n
il value
stack traceback:
[C]: in function '__add'
data/movements/scripts/eventos/blue.lua:10: in function <data/movements/
scripts/eventos/blue.lua:4>
[C]: in function 'doTeleportThing'
data/movements/scripts/eventos/dota.lua:7: in function <data/movements/s
cripts/eventos/dota.lua:1>
DotA Event (TFS 1.X)
Good morning dear friends Otland , I'm coming to the forum and this time will bring enough new content and help a lot to get bring DotA Event for TFS 1.x , it works exactly like the old TFS 0.4. Here download scripts + map, the GlobalEvents script is all commented to you can properly configure...
otland.net