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.
|