View Single Post
Re: Best msec val ever!!!
Old
  (#4)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,620
Join Date: Jul 2004
Location: Bulgaria
Default Re: Best msec val ever!!! - 12-08-2009

As I mentioned above, the PM_ calls and pointers are only valid when you are running listen server, you can't use them in dedicated one, so the correct way in your case will be gpGlobals->frametime * 1000. Anyway there is other methods around too, in case you don't want to call the BotThink() function every frame. You can checkout the JKBotti code for other good implementation of the msec calculation.
  
Reply With Quote