• 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 NPCs enters in another player talk

stringdev

New Member
Joined
Jul 31, 2014
Messages
2
Reaction score
0
I dont know right to explain this bug but i will try: when example, a player having a dialog with a npc, and have another player near, this another player receive the talks of the first one player, can somebody understand me and help please?
 
Post important information like scripts, server version / client version or your thread will get deleted in the future.
 
try adding this on your npc script code

Code:
function creatureSayCallback(cid, type, msg)
     if not npcHandler:isFocused(cid) then
         return false
     end

     local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid
 
Back
Top