Conectarse
Buscar
Mejores posteadores
XxStroksxX (463) | ||||
~*~[:Đαяќ:]~[:тιβια:]~*~ (366) | ||||
spoor (83) | ||||
Dj Pacos (73) | ||||
God Skit (68) | ||||
GoD MexicanSoul (40) | ||||
fuzzy (35) | ||||
Eddie (31) | ||||
GOD Chimito (30) | ||||
conalep1996 (23) |
Últimos temas
Temas más activos
Miembros que empiezan más temas
XxStroksxX | ||||
~*~[:Đαяќ:]~[:тιβια:]~*~ | ||||
God Skit | ||||
spoor | ||||
GoD MexicanSoul | ||||
fuzzy | ||||
Eddie | ||||
conalep1996 | ||||
God Rakzzo | ||||
Cletus |
como poner el comando !spells
Página 1 de 1.
como poner el comando !spells
HOLA, pues ahora traigo un tuto como poner el comando !spells
Se ban a su carpeta data/talkactions/script/
y hacen un archiblo con el blog de notas ke se llame spells.lua lo abren y pegan esto
despues vallanse a talkactions y pongan esto
si lo ven en otra pagina es porque me lo robaroon xD
Se ban a su carpeta data/talkactions/script/
y hacen un archiblo con el blog de notas ke se llame spells.lua lo abren y pegan esto
- Código:
function onSay(cid, words, param)
local count = getPlayerInstantSpellCount(cid)
local text = ""
local t = {}
for i = 0, count - 1 do
local spell = getPlayerInstantSpellInfo(cid, i)
if spell.level ~= 0 then
if spell.manapercent > 0 then
spell.mana = spell.manapercent .. "%"
end
table.insert(t, spell)
end
end
table.sort(t, function(a, b) return a.level < b.level end)
local prevLevel = -1
for i, spell in ipairs(t) do
local line = ""
if prevLevel ~= spell.level then
if i ~= 1 then
line = "n"
end
line = line .. "Spells for Level " .. spell.level .. "n"
prevLevel = spell.level
end
text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mana .. "n"
end
doShowTextDialog(cid, 2175, text)
return TRUE
end
despues vallanse a talkactions y pongan esto
- Código:
<talkaction words="!spells" event="script" value="spells.lua"/>
si lo ven en otra pagina es porque me lo robaroon xD
conalep1996
Aprendiz de Forero- [GOD] Storm
Edad : 27
Mensajes : 23
Localización : cd del carmen
Fecha de inscripción : 04/06/2012
Hoja de personaje
Personaje: demon assasin
Vocation: knight
Mundo: zanera
Temas similares
» como poner aol en tu server
» [Talkation] comando !jail
» [Talkation] Comando Para Bailar :D By ~*~[Dark]~[Tibia]~*~
» (spells) exori pum
» [Talkation] Teletransportarse con comando
» [Talkation] comando !jail
» [Talkation] Comando Para Bailar :D By ~*~[Dark]~[Tibia]~*~
» (spells) exori pum
» [Talkation] Teletransportarse con comando
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.
|
|
Lun Jun 08, 2015 12:08 pm por keishmer91
» [ACTION] God/GM da item a un player
Mar Dic 02, 2014 12:53 pm por hecmanos
» [8.60] Nuevo War Thais By TheRobertxon
Vie Jun 20, 2014 10:56 am por luismc
» [7.92]Naruto Final Story!
Dom Mayo 26, 2013 2:40 am por ricardotuck
» [9.1] Fun Server
Mar Mayo 14, 2013 5:32 pm por skifer
» [9.1] The Forgotten Server v0.2.11pl2 (Mystic Spirit)
Mar Mayo 14, 2013 5:29 pm por skifer
» New Map 8.60 (Darksystem) By: Turock & Gilio LIsto Arreglado El
Mar Mayo 07, 2013 5:27 pm por tonyso
» Ocean Clasic Global Map 8.6
Miér Mayo 01, 2013 11:19 pm por maganiua
» ayuda a abrir puertos
Lun Abr 29, 2013 5:58 pm por XxStroksxX
» [8.60] Speedy War
Dom Abr 28, 2013 5:51 pm por Sunnade'Audio