Total online time too fast
#7

pawn Код:
public GameTime(playerid) {
    PlayerInfo[playerid][Seconds]++;
    if(PlayerInfo[playerid][Seconds] == 60) {
        PlayerInfo[playerid][Minutes]++;
        PlayerInfo[playerid][Seconds] = 0;
    }
    if(PlayerInfo[playerid][Minutes] == 60) {
        PlayerInfo[playerid][Hours]++;
        PlayerInfo[playerid][Minutes] = 0;
        PlayerInfo[playerid][Seconds] = 0;
    }
    return 1;
}
Reply


Messages In This Thread
Total online time too fast - by JEkvall95 - 13.07.2013, 11:25
Re: Total online time too fast - by SsHady - 13.07.2013, 11:27
Re: Total online time too fast - by Champ - 13.07.2013, 11:37
Re: Total online time too fast - by JEkvall95 - 13.07.2013, 12:50
Respuesta: Total online time too fast - by PHudson - 13.07.2013, 12:52
Re: Total online time too fast - by Bakr - 13.07.2013, 12:54
Re: Total online time too fast - by JEkvall95 - 13.07.2013, 12:55
Respuesta: Total online time too fast - by PHudson - 13.07.2013, 13:06
Re: Respuesta: Total online time too fast - by JEkvall95 - 13.07.2013, 13:13
Re: Respuesta: Total online time too fast - by Konstantinos - 13.07.2013, 13:45

Forum Jump:


Users browsing this thread: 2 Guest(s)