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

Drop Loot Bugged xd

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
When I player level < 100 die, doesn't drop loot any loot(working), but when the player die < 100 dies, doesn't make any body in the ground? How I make that? Thanks.


# I'm using this script:
Code:
function onPrepareDeath(cid, killer)
	if getCreatureSkullType(cid) == SKULL_NONE and getPlayerLevel(cid) < 100 then
		doSetCreatureDropLoot(cid, false)
	end
return true
end

Thanks.
 
I don't know if the best way to do it but try it with doPlayerSetLossPercent instead of doSetCreatureDropLoot
 
Back
Top