• 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!

Free Bless

Sirion just haven't added the condition :

local level = 50
function onLogin(cid)
if getPlayerBlessing(cid, 1) and getPlayerBlessing(cid, 2) and getPlayerBlessing(cid, 3) and getPlayerBlessing(cid, 4) and getPlayerBlessing(cid, 5) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You have All blessings.")
else
if getPlayerLevel(cid) < level then
for i = 1, 5 do
doPlayerAddBlessing(cid, i)
end
end
end
return true
end
 
Lua:
local t = {
    bless = {1, 2, 3, 4, 5},
    level = 50
}
    if getPlayerLevel(cid) < t.level then
        for i = 1, #t.bless do
            if not(getPlayerBlessing(cid, t.bless[i])) then 
                doPlayerAddBlessing(cid, t.bless[i])
            end
        end
    end
 
Back
Top