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

UnSummon?

Serp

/* No comment */
Joined
Mar 23, 2008
Messages
249
Reaction score
1
I was wondering is there anyway to 'UnSummon' a creature instead of killing it to make it disapear.
 
You rally should read the LUA_FUNCTIONS its very useful, however I will be nice xD

Code:
local summons = getCreatureSummons(cid)

if(table.maxn(summons) >= 1) then
    doPlayerSendCancel(cid, "Your summons have been removed.")
    for _, pid in ipairs(summons) do
	doRemoveCreature(pid)
    end
else
    doPlayerSendCancel(cid, "You have no summons.")
end
 
Back
Top