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

DropLoot script Error

magdy capone

Tibia-Egypt.com
Joined
Jan 12, 2014
Messages
34
Reaction score
0
hello:):)
i'm use tfs 0.4
8.60 server

And I want this script Not even the loss of loot
Even in the presence of ((redskull-blackskull))

{lua}
function onPrepareDeath(cid, deathList)
if (isPlayer(cid)) == TRUE then
doCreatureSetDropLoot(cid, false)
end
return TRUE
end
{/lua}

but it have problem:(:(
mean that this scripts Not fully functioning and the problem is that when a person dies player is not added
frags For the person who killed him I hope that you have been my understanding
regards:)

Reply..........?:)

Any Help..........?:rolleyes:

Any Help..........?:rolleyes:
 
Last edited by a moderator:
Yes, you have every right Sorry For My English And I will Translate My mean

I mean that this scripts Not fully functioning and the problem is that when a person dies player is not added
frags For the person who killed him I hope that you have been my understanding:):)

Any Help..........?:rolleyes:

Any Help..........?:rolleyes:
 
Last edited by a moderator:
Code:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
     if getPlayerSkullType(cid) < 4 then --might have to edit this number :P
         doCreatureSetDropLoot(cid, false)
     end
     return true
end
Dont need isPlayer

@quirknepx his description was fine..
 
Back
Top