magdy capone
Tibia-Egypt.com
- Joined
- Jan 12, 2014
- Messages
- 34
- Reaction score
- 0
hello
i have script to can't player lose any loot it's working but have problem when i die anyone i can't get frags i need when die him get frags this is my script :
{lua}
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
doCreatureSetDropLoot(cid, false)
return true
end
{/lua}
and i need know how i can do player when die lose 1 level only please help me thank's
i have script to can't player lose any loot it's working but have problem when i die anyone i can't get frags i need when die him get frags this is my script :
{lua}
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
doCreatureSetDropLoot(cid, false)
return true
end
{/lua}
and i need know how i can do player when die lose 1 level only please help me thank's