Postado Junho 7, 2017 7 anos alguém pode fazer funcionar esses 2 creaturescripts, no tfs 0.4? Spoiler function onLogin(cid) local frags = getPlayerPoints(cid) if frags >= 10 and frags < 30 then doCreatureSetSkullType(cid, SKULL_YELLOW) elseif frags >= 30 and frags < 80 then doCreatureSetSkullType(cid, SKULL_GREEN) elseif frags >= 80 and frags < 150 then doCreatureSetSkullType(cid, SKULL_WHITE) elseif frags >= 150 and frags < 300 then doCreatureSetSkullType(cid, SKULL_RED) elseif frags > 300 then doCreatureSetSkullType(cid, SKULL_BLACK) end return true end Spoiler function onKill(cid, target, flags, damage) if isPlayer(target) then local frags = getPlayerPoints(cid) if frags >= 10 and frags < 30 then doCreatureSetSkullType(cid, SKULL_YELLOW) elseif frags >= 30 and frags < 80 then doCreatureSetSkullType(cid, SKULL_GREEN) elseif frags >= 80 and frags < 150 then doCreatureSetSkullType(cid, SKULL_WHITE) elseif frags >= 150 and frags < 300 then doCreatureSetSkullType(cid, SKULL_RED) elseif frags > 300 then doCreatureSetSkullType(cid, SKULL_BLACK) end end return true end Rap+, @Vodkart, @Sekk
Postado Junho 7, 2017 7 anos o que é getPlayerPoints(cid)? é de algum sistema que vc colocou? GitHub: https://github.com/s3kk Conteúdo: [SERVER] Heromassa[GESIOR] Gesior 2012 modificado por Sekk[GESIOR] Shop Addons & Mounts - TFS 1.x[GESIOR] Outfitter para Characters e Rank[SISTEMA] Castle 24h[TALKACTION] Multi Element Wand[ACTION] Multi Elemental Arrow & Shield[PROGRAMAÇÃO] Compilar TFS 0.4 no Linux[PROGRAMAÇÃO] Compilando TFS 0.4 no MSVC(x64 e x32) [INFRAESTRUTURA] Configuração COMPLETA Google VM + Tibia 11.x
Postado Junho 11, 2017 7 anos Autor @Sekk não faço ideia, peguei esses 2 scripts de um servidor q tava no HD externo, ele é um skull system, melhorado.
Postado Junho 11, 2017 7 anos 3 minutos atrás, Strung disse: @Sekk não faço ideia, peguei esses 2 scripts de um servidor q tava no HD externo, ele é um skull system, melhorado. ve se tem essa function ai no seu 050-functions.lua na pasta libs GitHub: https://github.com/s3kk Conteúdo: [SERVER] Heromassa[GESIOR] Gesior 2012 modificado por Sekk[GESIOR] Shop Addons & Mounts - TFS 1.x[GESIOR] Outfitter para Characters e Rank[SISTEMA] Castle 24h[TALKACTION] Multi Element Wand[ACTION] Multi Elemental Arrow & Shield[PROGRAMAÇÃO] Compilar TFS 0.4 no Linux[PROGRAMAÇÃO] Compilando TFS 0.4 no MSVC(x64 e x32) [INFRAESTRUTURA] Configuração COMPLETA Google VM + Tibia 11.x
Postado Junho 11, 2017 7 anos Autor 38 minutos atrás, Sekk disse: ve se tem essa function ai no seu 050-functions.lua na pasta libs não tem, essa função
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.