go to creature script, after go to playerdeath.lua and under function onDeath add:
just simple when you kill a player you will wins money
according the level
you can edit the formula
the sintax is ok, i belive, but doesn't works here
but they can try here and test ^^
HTML:
count = math.random((getPlayerLevel(cid) - 75)*5, (getPlayerLevel(cid) - 75)*6)
doPlayerAddMoney(killer, count)
doPlayerSendTextMessage(killer, 22, "You gains"..count.." gold coins for"..getPlayerName(cid).."kill.")
end
just simple when you kill a player you will wins money
according the level
you can edit the formula
HTML:
count = math.random((getPlayerLevel(cid) - 75)*5, (getPlayerLevel(cid) - 75)*6)
the sintax is ok, i belive, but doesn't works here
but they can try here and test ^^