System fuel cosumption.
#10

Have you started the timer?

I have this code to start it for all players:
pawn Код:
// Top of script
new GTimer1000;

// OnGameModeInit
    GTimer1000 = SetTimer("GlobalTimer1000", 1000, true);

// OnGameModeExit
    KillTimer(GTimer1000);

// Somewhere in the script
forward GlobalTimer1000();
public GlobalTimer1000()
{
    // Loop through all players and only run the timer for each player who's logged in
    for (new playerid; playerid < MAX_PLAYERS; playerid++)
        if (APlayerData[playerid][LoggedIn] == true)
            PlayerTimer1000(playerid);
}
Reply


Messages In This Thread
System fuel cosumption. - by Baltimore - 19.01.2015, 12:39
Re: System fuel cosumption. - by Ciarannn - 19.01.2015, 13:00
Re: System fuel cosumption. - by Gogeta - 19.01.2015, 13:13
Re : Re: System fuel cosumption. - by Baltimore - 19.01.2015, 17:07
Re: System fuel cosumption. - by PowerPC603 - 19.01.2015, 17:20
Re : System fuel cosumption. - by Baltimore - 19.01.2015, 20:36
Re: System fuel cosumption. - by PowerPC603 - 19.01.2015, 21:21
Re: System fuel cosumption. - by Clad - 19.01.2015, 21:24
Re : System fuel cosumption. - by Baltimore - 20.01.2015, 18:12
Re: System fuel cosumption. - by PowerPC603 - 20.01.2015, 20:00

Forum Jump:


Users browsing this thread: 1 Guest(s)