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

little npc quest problem

BulawOw

Soul of Shinobi
Joined
Sep 15, 2014
Messages
204
Solutions
8
Reaction score
62
So i was trying to make my first part of quest that gonna just start the quest but as always a problem and idk why so there is the script for that quest

Code:
local function creatureSayCallback(cid, type, msg)
   if not npcHandler:isFocused(cid) then
       return false
   end
   local player = Player(cid)
   if msgcontains(msg, "mission") then
       if player:getStorageValue(Storage.HiddenMonster.QuestLine) < 1 then
           npcHandler:say("tutaj bedzie historia", cid)
           npcHandler.topic[cid] = 0
       end
   end
end

And there is a error when i say to npc "mission". No idea if this gonna help but i use the latest forgotten server from github.

geaavqtyxxbrivohhavhsqcnlghitzzgondcrpchnmwwtgyudywzkksuidgpsyuzachycuzdtfpuwcmjzjfyavmiyjgodtiegxwy
 
Last edited:
Back
Top