Somebody can make or give me lua script when I kill NPC I get Some Money.
Help Me Plz
Help Me PlZ :D
Help Me PlZ :D
1

npcmoney=300 --change this to the money you want one NPC to give.
addhook("objectkill","npckill")
function npckill(id,playerid)
if object(id,"type")==30 then
parse("setmoney "..playerid.." "..(player(playerid,"money")+npcmoney))
end
end
1
