- Dołączył
- Luty 14, 2010
- Posty
- 28
- Liczba reakcji
- 0
Witam !
Wyskakuje mi b??d przy uruchomianiu silnika, a mianowicie z creaturescripts/scripts/charges.lua
Log z Silnika :
[Error - Luainterface::LoadFile] data/creaturescripts/scripts/charges.lua:3: '>' expected near 'then'
Charges.lua :
Wyskakuje mi b??d przy uruchomianiu silnika, a mianowicie z creaturescripts/scripts/charges.lua
Log z Silnika :
[Error - Luainterface::LoadFile] data/creaturescripts/scripts/charges.lua:3: '>' expected near 'then'
Charges.lua :
Kod:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
local amulet = getPlayerSlotItem(cid, CONST_SLOT_NECKLACE)
if ((getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2138) then
doChangeTypeItem(amulet.uid, amulet.type+1)
doSendMagicEffect(getCreaturePosition(cid), 39)
end
return true
end