Whether there is a script which:
Will drop others money from each other npc's (after kill npc) e.g.
Zombies:
1
parse("spawnitem 66 "..object(id,"tilex").." "..object(id,"tiley"))
1
parse("spawnitem 68 "..object(id,"tilex").." "..object(id,"tiley"))
parse("spawnitem 66 "..object(id,"tilex").." "..object(id,"tiley"))
parse("spawnitem 68 "..object(id,"tilex").." "..object(id,"tiley"))
addhook('objectkill', 'onObjectKill') function onObjectKill(oid, pid) 	if object(oid, 'player') == 1 then -- zombie 		parse("spawnitem 66 "..object(oid,"tilex").." "..object(oid,"tiley")) 	elseif object(oid, 'player') == 5 then -- soldier 		parse("spawnitem 68 "..object(oid,"tilex").." "..object(oid,"tiley")) 	end end
addhook('objectdamage', 'onObjectDamage') function onObjectKill(oid, dmg, src) 	if dmg >= object(oid, 'health') then 		if object(oid, 'player') == 1 then -- zombie 			parse("spawnitem 66 "..object(oid,"tilex").." "..object(oid,"tiley")) 		elseif object(oid, 'player') == 5 then -- soldier 			parse("spawnitem 68 "..object(oid,"tilex").." "..object(oid,"tiley")) 		end 	end end
parse('sv_soundpos "/2DMasters/training/splash.ogg" '..object(HUD,'x')..' '..object(HUD,'y')..'') parse('sv_soundpos "/2DMasters/training/'..name..'" '..object(HUD,'x')..' '..object(HUD,'y')..'')