Jump to content

Player online time counter


megaman54

Recommended Posts

Posted

I want to make a counter that calculates how long the player has been in the server and save it to his account. I already have a counter that calculates the time the player has been in the server but the time resets everytime he quits the server. So, how i can save this? I alread tried modifying the code for the normal counter but it dint work.

Posted

use

getPlayerAccount 
setAccountData 
getAccountData 

now the script is using

setElementData  

you need to replace it whit the account function's

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...