• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Loot rate increase & Low level proctetion

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
I tryed make, but I have no ideia how to do that.. A script when the player isPremium will increase the loot rate in 50% and the low level proctetion works like, if the player is < 100 and is not skull then won't drop the loot, I cried this script, but isn't working, doesn't creating any corpose.

Code:
function onPrepareDeath(cid, killer)
if getCreatureSkullType(cid) == SKULL_NONE and getPlayerLevel(cid) < 100 then
doSetCreatureDropLoot(cid, false)
end
return true
end

Thanks.


Yours VANKK;
 
Back
Top