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

[Lua] Request of a script...

You can try something like this
LUA:
if getPlayerStorageValue(cid, 7781) == 1 then
   if doPlayerRemoveItem(cid, egg, 1) then
      for i = 19010, 19013 do
          if getPlayerStorageValue(cid, i) == 1 then
             v = true
          else
              selfSay('You havent done paradox quest', cid)
              talk_state = 0 -- or nil?
          end
      end
   else
       selfSay('You dont have a phoenix egg', cid)
       talk_state = 0
   end
else
    selfSay('...', cid)
    talk_state = 0
end

if v then
   selfSay('Thanks, here is your bless', cid)
   doPlayerAddBlessing(cid,x)
   talk_state = 0
end

Or just make a bunch of ifs to check each and else the ifs, or just use ands like you but then you'll have to use elseifs, hope I helped
 
Back
Top