How i can make this ?
#1

How to check players inactive time on server? and if players back also logged in will see this message ?

Quote:

You were last on 0 weeks, 1 day, 23 hours, 53 minutes and 35 seconds ago.

Thank for help (+rep)
Reply
#2

try using THIS plugin, it is easy.

You need to store current time into variable (e.g lastOnline[playerid]), and just calculate difference between current time and last online. and after showing message, update lastOnline to current timestamp (use unix timestamp)
Reply
#3

Use gettime() function and use TimeStamptoDate include.
Reply
#4

Can anyone give simple for me ?
Reply
#5

This isn't a request section..
Every topic you make you request something.
Reply
#6

I don't think you would get what You're searching for, But if you hire a scripter - You will be able to make it from scratch, Or I've found this its a little similar, You can test it Out!

https://sampforum.blast.hk/showthread.php?tid=266893
Reply
#7

bump
Reply
#8

?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)