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

VIP Storage --> Dont loose item if Player Die/RS

Cazar

Ph0t0sh0p abus3r
Joined
Mar 9, 2009
Messages
407
Reaction score
1
Location
Cologne
Can someone make a script that if a Player die,
dont loose the Donated Items?
If the Player got RS and they got the Items they dont let the If the player has a RedSKull, however, he should not lose the Items. He should keep it.

//Cazar

p.s. Rep++ :)
 
LUA:
function onDeath(cid, corpse, lastHitKiller, mostDamageKiller)
local storage = 12345
	if getPlayerStorageValue(cid, storage) == TRUE then
		doSetCreatureDropLoot(cid, 0)
	end
	return TRUE
end
...
 
Back
Top