doesnt looks good.... maybe a event "onDie" would be better for this
local LEVELTOBEROOKED = 5
local rook = {x = 100, y = 100, z = 7, stackpos=253}
function onDie(cid, corpse)
if(isPlayer(cid) == TRUE) then
if(getPlayerLevel(cid) <= LEVELTOBEROOKED) then
doPlayerSetMasterPos(cid, rook)...