respawn help
#6

Example:
Код:
Racestarted = 1;
if(Racestarted == 1)
{
      SetTimer("racestop", 30000, false);
}
forward racestop();
public racestop()
{
      for(new i=0; i < MAX_PLAYERS; i++)
      {
           if(InRace[i] == 1)
           { 
                  SpawnPlayer(i);
                  InRace[i] = 0;
                  RaceStarted = 0;
                  // you can add more things depends on the values you changed for players whom are in race

            }
      }
      return 1;
}
Reply


Messages In This Thread
respawn help - by TwoTone - 23.02.2018, 12:12
Re: respawn help - by TwoTone - 23.02.2018, 12:49
Re: respawn help - by RogueDrifter - 23.02.2018, 12:52
Re: respawn help - by TwoTone - 23.02.2018, 13:04
Re: respawn help - by AstroPoid - 23.02.2018, 14:56
Re: respawn help - by AstroPoid - 23.02.2018, 15:00
Re: respawn help - by TwoTone - 23.02.2018, 15:08
Re: respawn help - by AstroPoid - 23.02.2018, 15:12
Re: respawn help - by TwoTone - 23.02.2018, 15:15
Re: respawn help - by AstroPoid - 23.02.2018, 15:16

Forum Jump:


Users browsing this thread: 1 Guest(s)