Stellow
C++/C#/PHP/LUA
I'm using TFS 0.3.4
When the player die... dont lose iten, backpack, set, NOTHING!
i tested with 3 data/creaturescripts/scripts/playerdeath.lua to try fix, but i dont had susses :/
1º Script say this:
2 Script say this:
3 Script say this:
Help please, i need fix one. I had test with 3 script and all dont work. What i need do?
When the player die... dont lose iten, backpack, set, NOTHING!
i tested with 3 data/creaturescripts/scripts/playerdeath.lua to try fix, but i dont had susses :/
1º Script say this:
Code:
[24/05/2009 21:38:23] Lua Script Error: [CreatureScript Interface]
[24/05/2009 21:38:24] data/creaturescripts/scripts/playerdeath.lua:onDeath
[24/05/2009 21:38:24] luaGetCreatureName(). Creature not found
2 Script say this:
Code:
[24/05/2009 21:40:05] Lua Script Error: [CreatureScript Interface]
[24/05/2009 21:40:05] data/creaturescripts/scripts/playerdeath.lua:onDeath
[24/05/2009 21:40:05] data/creaturescripts/scripts/playerdeath.lua:7: attempt to index global 'luasql' (a nil value)
[24/05/2009 21:40:05] stack traceback:
[24/05/2009 21:40:05] data/creaturescripts/scripts/playerdeath.lua:7: in function <data/creaturescripts/scripts/playerdeath.lua:3>
3 Script say this:
Code:
[24/05/2009 21:41:37] Lua Script Error: [CreatureScript Interface]
[24/05/2009 21:41:37] data/creaturescripts/scripts/playerdeath.lua:onDeath
[24/05/2009 21:41:37] luaGetCreatureName(). Creature not found
Help please, i need fix one. I had test with 3 script and all dont work. What i need do?