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

Solved Blessing

Nerevr back

Member
Joined
Nov 7, 2014
Messages
269
Reaction score
7
i need action blessing u will get one bless when use it send this effect in photo.
so to get full blessing u need to use book 5 time , and need more script i can auto use items when my soul 2
G8QVN_fh.png
 
Code:
{x = 100, y = 100, z = 4}, {x = 150, y = 150, z = 7}
no work tis my script
Code:
function onThink(interval, lastExecution)
     for _, pid in ipairs(getPlayersOnline()) do
         if isInRange(getPlayerPosition(pid), {x = 962, y = 759, z = 7}, {x = 1021, y = 800, z = 5}) then -- change to positions where people should get the soul points
             if getPlayerSoul(pid) < 179 then
                 if doPlayerRemoveItem(pid, 2177, 1) then
                     doPlayerAddSoul(pid, 200 - getPlayerSoul(pid))
                     doPlayerSendTextMessage(pid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your soul points have been restored to 200.")
                 else
                     doPlayerSendCancel(pid, "You need a life crystal to restore your soul points.")
                 end
             end
         end
     end
     return true
end

in xml
Code:
<globalevent name="removesoul" interval="1000" event="script" value="remove soul.lua"/>
 
Back
Top