02.12.2015, 17:02
Why I can't store gettime? I make it like this:
Code:
PlayerInfo[id][pTime] = gettime();
PlayerInfo[id][pTime] = gettime();
native gettime(&hour,&minute,&second);
Return Values: The function itself returns a Unix Timestamp, however if arguments are specified then the hours, minutes and seconds for the current time are returned. |
INI_Int("Time",PlayerInfo[playerid][pTime]);
INI_WriteInt(File,"Time",PlayerInfo[playerid][pTime]);
PlayerInfo[id][pTime] = gettime(); //ID? other player? inside a command?