Postado Março 1, 2018 7 anos Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Ex. TFS 1.3; Base: TFS 1.3 Qual erro está surgindo/O que você procura? Please someone help me to update this script. I could not find any TOP FRAG updated TFS 1.3. Você tem o código disponível? Se tiver publique-o aqui: local skulls = {SKULL_WHITE, SKULL_YELLOW, SKULL_RED, SKULL_BLACK} function addPlayerFrag(cid, amount) db.executeQuery("UPDATE `players` SET `frags_all` = `frags_all` + " .. amount .. " WHERE `id` = " .. getPlayerGUID(cid) .. ";") end function onKill(cid, target, lastHit) if(isPlayer(target) ~= true) then return true end if (isPlayer(cid) == true) and (isPlayer(target) == true) then if getPlayerSkullType(target) == SKULL_WHITE then addPlayerFrag(cid, 1) elseif getPlayerSkullType(target) == SKULL_YELLOW then addPlayerFrag(cid, 1) elseif getPlayerSkullType(target) == SKULL_RED then addPlayerFrag(cid, 1) elseif getPlayerSkullType(target) == SKULL_BLACK then addPlayerFrag(cid, 1) elseif getPlayerSkullType(target) == SKULL_NONE then addPlayerFrag(cid, 1) end return TRUE end end function onLogin(cid) registerCreatureEvent(cid, "TopFrags") return true end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.