• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Low level item protection

MadMOOK

Hoo
Joined
Apr 20, 2011
Messages
802
Reaction score
44
This is the script i found.. its for 0.3.4... I use 0.3.7 anyway, it doesnt work, I have it all registered properly..

Code:
function onLogin(cid)
local bless = {1, 2, 3, 4, 5}
local level = 20
if(getPlayerLevel(cid) <= level) then
for i = 1, table.maxn(bless) do
if(getPlayerBlessing(cid, bless)) then
return TRUE
else
doPlayerAddBlessing(cid, bless)
end
end
end
return true
end
 
lol oh my thank you limos :D

one thing tho... it DOES save them from not losing items, but it also resets their level to 1 when they die lol..

@Limos how do i fix that lol
 
Does this also happen when you create a new character and then die without doing anything else? Do you have an other script that gives blessings?
How does the blessing part in config.lua look like? Already tried with default values?
 
No scrpts give blessings. I have Alice npc but she isnt in game yet xD
blessings = true
blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecrement = 5
eachBlessReduction = 8
pvpBlessingThreshold = 40
fairFightTimeRange = 60
 
Back
Top