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

TFS 0.X player:getLastLogout()

ConAn Edujawa

Member
Joined
Feb 23, 2015
Messages
457
Reaction score
17
hello guys i use 0.4
i need to change cod from 1.3 to 0.4 anyone can help me ?
local petTimeLeft = player:getStorageValue(STORAGE_PET) - player:getLastLogout()
need change this cod for 0.4
 
only thing similar is
getPlayerLastLogin(cid)
and maybe this.. but I'm not sure exactly what it means by 'load'.
getPlayerLastLoad(cid)
 
I think youcan create onlogout creaturescripts, you can store the date and time when someone logs out and compare that
 
Back
Top