Thread: Delay
View Single Post
Re: Delay
Old
  (#2)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: Delay - 05-06-2010

Use the gpGlobals->time variable(if I remeber correct) the get correct timing between the frames, also for the first case try to change the "if (m_flDelay == 1)", to "if (m_flDelay >= 1)". Sinse this seems to be float variable the chance to be 1.00001 or something like that is big.
  
Reply With Quote