Forum Hegemonia OTS
w data/actions/scripts/ zrobicei plik manes.lua i wklejcie to
function onUse(cid, item, frompos, item2, topos)
mag = getPlayerMagLevel(cid)
if mag >= 0 then
doSendMagicEffect(topos,1)
doPlayerSay(cid," ",16)
doPlayerAddMana(cid,"100")
if item.type > 1 then
end
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,"ej nie masz 0 mglvl aby uzyc podlogi !")
end
return 1
end
teraz przejdzmy do data/actions/actions
wklejcie to
<action itemid="415" script="manes.lua" />
415-jest to podloga w swiatyni gdzie sie znajdujemy po zrobiieniu postaci albo dedzie
TEN SKRYPT JEST NA 7.5, 7.6, 7.4,
Offline