unix timestamp
#1

hi,

I have a problem. If really, I dont know how to "load" and "save" unix timestamps on mysql.. So, for example :

if I have " new mute_time[MAX_PLAYERS]; " yeah, and I'm adding time to it ( " mute_time[playerid] = gettime() + 3600; " ), so how I should save this time and load it ? Please help ;/
Reply
#2

Save it as any other variable, It's only an integer.
Again, load it as any other integer (i.e. admin level or player's money)
Reply
#3

Quote:
Originally Posted by dominik523
View Post
Save it as any other variable, It's only an integer.
Again, load it as any other integer (i.e. admin level or player's money)
ok I'll try. Thanks for help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)