SetTimer's not working
#11

Try to use the Sleep(ms)/Wait(ms) function:
This function will work as a timer, but when it's executed all functions in the server get paused.
pawn Код:
stock Sleep(ms)
{
  new t = tickcount();
  while(t-tickcount() < ms) { }
  return 1;
}
Reply


Messages In This Thread
SetTimer's not working - by Biesmen - 17.05.2011, 07:59
Re: SetTimer's not working - by Elka_Blazer - 17.05.2011, 08:44
Re: SetTimer's not working - by Biesmen - 17.05.2011, 09:35
Re: SetTimer's not working - by Elka_Blazer - 17.05.2011, 09:37
Re: SetTimer's not working - by Biesmen - 17.05.2011, 10:01
Re: SetTimer's not working - by Biesmen - 17.05.2011, 14:32
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 14:39
Re: SetTimer's not working - by Biesmen - 17.05.2011, 14:39
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 14:50
Re: SetTimer's not working - by Biesmen - 17.05.2011, 14:50
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 14:57
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 15:16
Re: SetTimer's not working - by Biesmen - 17.05.2011, 15:17
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 15:21
Re: SetTimer's not working - by Biesmen - 17.05.2011, 15:28
Re: SetTimer's not working - by playbox12 - 17.05.2011, 15:29
Re: SetTimer's not working - by Sasino97 - 17.05.2011, 15:37
Re: SetTimer's not working - by Biesmen - 17.05.2011, 16:17
Re: SetTimer's not working - by playbox12 - 17.05.2011, 16:50
Re: SetTimer's not working - by Biesmen - 17.05.2011, 16:57

Forum Jump:


Users browsing this thread: 3 Guest(s)