Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
my Server is noobwar But Player lose items-skill
i dont need Player lose items-Skill-magic-frags > exp only Down
how i fix it from coinfg or mysql
Help
function onLogin(cid)
local frags = math.max(0, getPlayerStorageValue(cid, 20233))
if(frags >= 5000) then
doCreatureSetGuildEmblem(cid, EMBLEM_RED)
elseif(frags >= 1500) then
doCreatureSetGuildEmblem(cid, EMBLEM_BLUE)
elseif(frags >= 250) then
doCreatureSetGuildEmblem(cid, EMBLEM_GREEN)
end
if getPlayerStorageValue(cid, 20233) == -1 then
doCreatureSetStorage(cid, 20233, 0)
end
registerCreatureEvent(cid, "FragsL")
local loss = getConfigValue('deathLostPercent')
if(loss ~= nil) then
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
end
if(not isPlayerGhost(cid)) then
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
for i = 1, 5 do
if not player:hasBlessing(i) then
player:addBlessing(i)
end
end