Posts: 96
Threads: 19
Joined: Feb 2017
Hello guys! I want to create an system. When players get register. EXAMPLE if i register myself today at 2am. Everytime i join within 24 hours send me message. "Welcome Newbie Player". and if i logint to the account i registered before 24 hours. it send me message "Welcome Regular Player"
HELP! +REP
Posts: 1,046
Threads: 250
Joined: Nov 2014
Reputation:
0
Do you already have a feature that keeps track of the playing hours?
Posts: 96
Threads: 19
Joined: Feb 2017
Yes i already have. but my system save how much hours player play. But i want to make it after 24hours(realtime)(if he is online or offline)
Posts: 1,046
Threads: 250
Joined: Nov 2014
Reputation:
0
Get the date and hour when the player firstly joined and save them as "Join Date" or something like that, however you want.
Then every time he connects get the date and time and match it with the saved ones, if they are under 24 hours then put the newbie message.
Maybe not the best method but it should work without any issues.
Posts: 96
Threads: 19
Joined: Feb 2017
Can you do for me a simple script! I really need that PLEASE