Odp: Ksiadz po polsku [8.1]
niedziala skrypt czegos tam brakuje przy koncu
[10/01/2009 12:53:37] [Warning - NpcScript::NpcScript] Can not load script: data/npc/scripts/slub.lua
[10/01/2009 12:53:37] data/npc/scripts/slub.lua:16: ')' expected (to close '(' at line 15) near 'end'
edit//dodalem ze 30 nawiasow i nibychodzi ale jak do niego mowie to sie nieodzywa i w konsoli wyskakuja bledy
[10/01/2009 13:05:59] Lua Script Error: [Npc interface]
[10/01/2009 13:05:59] data/npc/scripts/slub.lua

nCreatureSay
[10/01/2009 13:05:59] data/npc/scripts/slub.lua:79: attempt to call global 'isPromoted' (a nil value)
[10/01/2009 13:05:59] stack traceback:
[10/01/2009 13:05:59] data/npc/scripts/slub.lua:79: in function <data/npc/scripts/slub.lua:30>
[10/01/2009 13:06:03] Lua Script Error: [Npc interface]
[10/01/2009 13:06:03] data/npc/scripts/slub.lua

nCreatureSay
[10/01/2009 13:06:03] data/npc/scripts/slub.lua:79: attempt to call global 'isPromoted' (a nil value)
[10/01/2009 13:06:03] stack traceback:
[10/01/2009 13:06:03] data/npc/scripts/slub.lua:79: in function <data/npc/scripts/slub.lua:30>
a to linijka 79 ze skryptu
if msgcontains(msg, 'hi') and focus1 == 0 and isPromoted(cid) and getDistanceToCreature(cid) < 4 then