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

Get player online time

pedrock

New Member
Joined
Aug 8, 2011
Messages
10
Reaction score
1
i was wondering if there is a way to get the time the players are online I mean in hours or minutes or maybe display it on the character view online like on modern acc
 
Yeah everything is posible, use storagevalue. I think that would work, workes atleast on globalStorages. Eg. save what a player says, just use it as an onLogin
Code:
function onLogin(cid)
      addEvent(1000, doCreatureSetStorage(cid, timeOnline, y), true)
return true
end

Might work, never seen anything like it but try it :)
WibbenZ
 
Back
Top