Saving timer
#1

I'm basically not sure how to save the timer to the player so when he/she logs out it saves and when the relog it continues.

An example would be appreciated.
Reply
#2

More info would be appreciated. You can thank me for the bump later.
Reply
#3

What do you need this for (Yes It will help me to know more information)

You can also use GetTickCount..

Код:
//Top of script
new Last[MAX_PLAYERS];
//END
Код:
//Where the player types a cmd or something..
if(Last[playerid] <= 0)
{
Last[playerid] = GetTickCount();
}
else
{
//Last is set..
}
//END
I'm not sure if that helped but meh..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)