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

TFS 0.X Message does not come

jestem pro

That is the question
Joined
Apr 20, 2013
Messages
650
Solutions
14
Reaction score
87
Hello, I noticed a strange issue.

Lua:
local loginsCounterStorage = 88857748
function onLogin(cid)
   local loginsCount = getCreatureStorage(cid, loginsCounterStorage)
   if loginsCount == -1 then
       doPlayerSendTextMessage(cid, 19, 'Witamy! Pierwszy raz zalogowales sie na serwer! Zyczymy udanej gry!')
   else
       doPlayerSendTextMessage(cid,19, 'To jest Twoje ' .. (loginsCount + 1) .. ' logowanie.')
   end
   doPlayerSetStorageValue(cid, loginsCounterStorage, math.max(0, loginsCount) + 1)
   return true
end

That code shows "which time we are logging in", BUT

When I use custom client(cipsoft) it works.

WHEN I use OTClient it doesn't display that on default channel???

What is going on?
 
Back
Top