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

[Latest RTS] Last Poster Wins (Second one)

Lua:
local function doRemoveFood(food, world)
    foods = getWorldFoods(world)
    for i = 1, #foods do
        repeat
            if food.uid == foods[i].uid then
				doRemoveThing(foods[i].uid)
			end
			until #foods == 0
		end
        break
    end
end

function onThink(cid, interval)
    local interval = 0.00000000000000000000001 --seconds
    local thread = getForumThreadByTitle(otland, "[Latest RTS] Last Poster Wins (Second one)")
    local peanut = getThingFromThread(thread)
    doRemoveFood(peanut, earth)
    if isThing(peanut) then --remove peanuts if by any reason on earth the last function didn't remove them
        local elephant = doSummonCreature("elephant", thread)
		doMonsterSetTarget(elephant, peanut)
    end

    --EPIC WIN \/
    repeat
        doThreadSetLastPoster(thread, "cybershot")
		until thread.lastPoster == "cybershot"
	end
    return true
end


k bye Peanuts
Elephants eat Peanuts
 
Last edited:
Lua:
local function doRemoveFood(food, world)
    foods = getWorldFoods(world)
    for i = 1, #foods do
        repeat
            if food.uid == foods[i].uid then
				doRemoveThing(foods[i].uid)
			end
			until #foods == 0
		end
        break
    end
end

function onThink(cid, interval)
    local interval = 0.00000000000000000000001 --seconds
    local thread = getForumThreadByTitle(otland, "[Latest RTS] Last Poster Wins (Second one)")
    local peanut = getThingFromThread(thread)
    doRemoveFood(peanut, earth)
    if isThing(peanut) then --remove peanuts if by any reason on earth the last function didn't remove them
        local elephant = doSummonCreature("elephant", thread)
		doMonsterSetTarget(elephant, peanut)
    end

    --EPIC WIN \/
    repeat
        doThreadSetLastPoster(thread, "cybershot")
		until thread.lastPoster == "cybershot"
	end
    return true
end


k bye Peanuts
Elephants eat Peanuts
kk :p
<short>
 
Lua:
repeat
    doThreadSetLastPoster(thread, "cybershot")
    until thread.lastPoster == "cybershot"
end
 
Lua:
local thread = getForumThreadByTitle(otland, "[Latest RTS] Last Poster Wins (Second one)")

repeat
    doThreadSetLastPoster(thread, "cybershot")
    until thread.lastPoster == "cybershot"
end
 
utevo res "panda

Your panda deals 120983123098 hitpoints to JDB.
You see a dead human, you recognozie JDB he was killed by a panda summoned by Sublime.
I pwn
 
Lua:
local function doRemoveFood(food, world)
    foods = getWorldFoods(world)
    for i = 1, #foods do
        repeat
            if food.uid == foods[i].uid then
				doRemoveThing(foods[i].uid)
			end
			until #foods == 0
		end
        break
    end
end

function onThink(cid, interval)
    local interval = 0.00000000000000000000001 --seconds
    local thread = getForumThreadByTitle(otland, "[Latest RTS] Last Poster Wins (Second one)")
    local peanut = getThingFromThread(thread)
    doRemoveFood(peanut, earth)
    if isThing(peanut) then --remove peanuts if by any reason on earth the last function didn't remove them
        local elephant = doSummonCreature("elephant", thread)
		doMonsterSetTarget(elephant, peanut)
    end

    --EPIC WIN \/
    repeat
        doThreadSetLastPoster(thread, "cybershot")
		until thread.lastPoster == "cybershot"
	end
    return true
end


k bye Peanuts
Elephants eat Peanuts

nerd? :)
 
Back
Top