I have a problem with the function "onPrepareDeath(cid, deathList)". Currently I create the arena, and this function is not working properly.
Script:
local config =
{
fromPosition = {x=1058,y=1026,z=6},
toPosition = {x=1065,y=1030,z=6},
gl_storage = 16891,
storage = 3989
}...