16.08.2009, 14:19
Hi,
im trying to create a timeban system using a timestamp. I need this timestamp from several other things...So i searched this Forum, looked in the wiki and found some things, that seemed to help me:
1.) I tried makabos timestamp function, which doesnt worked for me correctly: I used another function to convert this timestamp to a date, which showed the right time, but the wrong date, so makabos timestamp doesnt work for me
2.) I tried gettime, which should return the seconds since 1970 (timestamp), but it doenst work either, displayed the right date and the wrong time...
3.) tried boyletts functions, which doenst work either
Im running my gamemode on a linux server, so is there any bug with this or could someone send me a working timestamp function, like in php "mktime"...
im trying to create a timeban system using a timestamp. I need this timestamp from several other things...So i searched this Forum, looked in the wiki and found some things, that seemed to help me:
1.) I tried makabos timestamp function, which doesnt worked for me correctly: I used another function to convert this timestamp to a date, which showed the right time, but the wrong date, so makabos timestamp doesnt work for me
2.) I tried gettime, which should return the seconds since 1970 (timestamp), but it doenst work either, displayed the right date and the wrong time...
3.) tried boyletts functions, which doenst work either
Im running my gamemode on a linux server, so is there any bug with this or could someone send me a working timestamp function, like in php "mktime"...