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

Help Vocations with other death corpses [creatureevent]

djblah

Active Member
Joined
Oct 15, 2010
Messages
129
Solutions
2
Reaction score
25
i need some help in CreatureEvent

Vocations with other corpses.

voc 2, corpse
voc 3, corpse
voc 4, corpse

I think everybody know what i means

Please help
 
Lua:
local isSorc = {1, 5, 9}
local isDruid = {2, 6, 10}
local isPaladin = {3, 7, 11}
local isKnight = {4, 8, 12}

function onPrepareDeath(cid)
if getPlayerVocation(cid) == isSorc then
doCreateItem(corpseid, getPlayerPosition(cid))
return true
end
end
 
Lua:
local isSorc = {1, 5, 9}
local isDruid = {2, 6, 10}
local isPaladin = {3, 7, 11}
local isKnight = {4, 8, 12}

function onPrepareDeath(cid)
if getPlayerVocation(cid) == isSorc then
doCreateItem(corpseid, getPlayerPosition(cid))
return true
end
end

wtf?
 
Back
Top