Dran Ryszard
Active Member
Hi, Any ideas how to remove outfit window after login? TFS 1.5 8.6 Nekiro (version by @Mateus Robeerto with modal windows)
Im check login.lua and its not here, i was remove few lines and without it, window still showing when i login
I search "player:sendOutfitWindow()" in all files of datapack, and it find only in login.lua and in luscript.cpp.. So i don't know why it showing still?

Im check login.lua and its not here, i was remove few lines and without it, window still showing when i login

I search "player:sendOutfitWindow()" in all files of datapack, and it find only in login.lua and in luscript.cpp.. So i don't know why it showing still?
LUA:
if player:getLastLoginSaved() <= 0 then
loginStr = loginStr .. " Please choose your outfit."
player:sendOutfitWindow()
player:addMount(13)
else
if loginStr ~= "" then
player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr)
end
loginStr = string.format("Your last visit in %s: %s.", serverName, os.date("%d %b %Y %X", player:getLastLoginSaved()))
end
