10.01.2014, 21:44
If you don't want to use gettime etc, then just use this code:
pawn Код:
public PlayingTime(playerid)
{
PlayingTimeSec[playerid]++;
if(PlayingTimeSec[playerid] == 59)
{
PlayingTimeSec[playerid] = 0;
PlayingTimeMin[playerid]++;
if(PlayingTimeMin[playerid] == 59) {
PlayingTimeHour[playerid]++;
PlayingTimeMin[playerid] = 0;
}
}
return 1;
}

