xq no anda?
#7

Por que no haces esto:

pawn Код:
new bool:Arriba
pawn Код:
public OnGameModeInit()
{
  SetTimer("Mover", tiempo, true); // cambia el tiempo por el tiempo que va a tomar el acensor en subir y quedarse un rato...
  return 1;
}
pawn Код:
forward Mover();
public Mover()
{
  if(Arriba == false)
  {
    // subir ascensor
    Arriba = true;
  }
  else
  {
    // bajar ascensor
    Arriba = false;
  }
  return 1;
}
Reply


Messages In This Thread
xq no anda? - by TheChaoz - 16.01.2010, 23:36
Re: xq no anda? - by Chiri - 17.01.2010, 01:30
Re: xq no anda? - by TheChaoz - 17.01.2010, 01:59
Re: xq no anda? - by Miguel - 17.01.2010, 02:29
Re: xq no anda? - by agusfn20 - 17.01.2010, 04:04
Re: xq no anda? - by TheChaoz - 17.01.2010, 04:11
Re: xq no anda? - by Miguel - 17.01.2010, 04:40
Re: xq no anda? - by agusfn20 - 17.01.2010, 04:49
Re: xq no anda? - by Miguel - 18.01.2010, 00:40
Re: xq no anda? - by TheChaoz - 18.01.2010, 03:44

Forum Jump:


Users browsing this thread: 1 Guest(s)