local table = {[220] = 4298, --[vocation] = id do corpse[221] = 4298,[222] = 4298,[223] = 4298,[224] = 4298,[225] = 4298, --- Guy[204] = 4301, [205] = 4301,[206] = 4301,[207] = 4301,[208] = 4301,[209] = 4301, --- Hashi[220] = 2915,[280] = 2917,[110] = 2888,[190] = 2898}local function transform(pos, id, voc)local item = getTileItemById(pos, id)if item and item.uid > 1 thendoTransformItem(item.uid, table[voc])doDecayItem(item.uid or 0)endendfunction onDeath(cid, corpse)if isPlayer(cid) and table[getPlayerVocation(cid)] then addEvent(transform, 15, getThingPos(cid), corpse.itemid, getPlayerVocation(cid))endreturn trueend
esse script nao funciona !! tfs 0.4
pode me ajudar ele e system de corpse tipo quando vc morrer vai apareçer x corpse cada vocation tem o seu.
pode ajudar?