i made a lua script to create a explosion when a player dies
but game dont detect it anyway
i tried zipping it and etc and didnt work
yes, i made a meta.xml file
heres the code of it:
function explosionOnSpawn ( )
local pX, pY, pZ = getElementPosition ( source )
createExplosion ( pX, pY, pZ, 6, source )
end
addEventHandler ( "onPlayerWasted", getRootElement(), explosionOnSpawn)