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

Lua isContainer make me mad...

Perun

nems.online
Joined
May 1, 2009
Messages
378
Solutions
7
Reaction score
176
Hello, i have simple, veeeeeeery simple script, but it can't work because function isContainer doing shits....

I'll give you an example.


This code working perfect but...
Code:
function onDeath(cid, corpse, deathList)
doAddContainerItem(corpse.uid, 2160, 100)
return true
end

When i want to check what is it inside corpse i just can't.
using function isContainer telling me that my corpse is not container, but true is that it is...
When i want to use function getContainerItem my server tell me, that result = 0.

I really don't know, is it something wrong with reading corpse container in onDeath or what? because in talkactions etc all working perfect.
 
Back
Top