Witam , a o to m?j problem ;s
data/creaturescripts/scripts/login.lua:4: in function <data/creaturescripts/scripts/login.lua:1>
posiadam silnik tfs pod 8.4 tibie a o to m?j login.lua
function onLogin(cid)
local loss = getConfigValue('deathLostPercent')
if(loss ~= nil) then
for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do
doPlayerSetLossPercent(cid, i, getConfigValue('deathLostPercent'))
end
end
registerCreatureEvent(cid, "GuildMotd")
registerCreatureEvent(cid, "PlayerDeath")
return TRUE
end
data/creaturescripts/scripts/login.lua:4: in function <data/creaturescripts/scripts/login.lua:1>
posiadam silnik tfs pod 8.4 tibie a o to m?j login.lua
function onLogin(cid)
local loss = getConfigValue('deathLostPercent')
if(loss ~= nil) then
for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do
doPlayerSetLossPercent(cid, i, getConfigValue('deathLostPercent'))
end
end
registerCreatureEvent(cid, "GuildMotd")
registerCreatureEvent(cid, "PlayerDeath")
return TRUE
end