jestem pro
That is the question
- Joined
- Apr 20, 2013
- Messages
- 650
- Solutions
- 14
- Reaction score
- 87
Hello, I noticed a strange issue.
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?
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?