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

Lua Dies to remove all items

Mazynho

New Member
Joined
Nov 2, 2013
Messages
5
Reaction score
0
Hello!
Please want a pretty simple script that soon after die player have removed all your items and then immediately one storage would be added to it .

forgive if this in the wrong section!
 
Last edited:
Hello!
Please want a pretty simple script that ao morrer o jogador have removed all your items and then immediately one storage would be added to it .

forgive if this in the wrong section!
is that ao morrer o jogador a secret code ?
Translate please
 
Code:
function onPrepareDeath(cid, deathlist)
             if isPlayer(cid) then
             doCreatureSetDropLoot(cid, true)
             doPlayerSetStorageValue(cid, storage, 1)
             end
             return true
end
 

Similar threads

Back
Top