Timer
#5

Quote:
Originally Posted by еddy
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if (pickupid == pickup1)
  {
    SetTimer("RestartGameMode", 10000, false);
  }
}

forward RestartGameMode();
public RestartGameMode()
{
  GameModeExit();
}
Thank you, that's all I needed. I had 1000 instead of 10000 so I guess that was the problem why it didn't work in the first place.

@wilcock33 Yes it is possible, with SetTimer.

@Criss_Angel I am creating a new gamemode, maybe you will know it when I will release it.
Reply


Messages In This Thread
Timer - by yelkreb - 19.07.2009, 20:47
Re: Timer - by wilcock33 - 19.07.2009, 20:49
Re: Timer - by Criss_Angel - 19.07.2009, 20:49
Re: Timer - by refshal - 19.07.2009, 20:50
Re: Timer - by yelkreb - 19.07.2009, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)