Raised This Month: $ Target: $400
 0% 

Need coding help (tickrate)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DIFF
Member
Join Date: Aug 2009
Old 08-01-2010 , 14:46   Need coding help (tickrate)
#1

Hello.
Can some one make from this plugin http://didrole.com/tickrate_enabler/ another that will forse tickrate 100 in any sense(situation, setting)
smthng like this
Code:
float GetTickInterval()
{
	float tickinterval = DEFAULT_TICK_INTERVAL;
	float tickrate = 100;
	if ( tickrate > 10 )
		tickinterval = 1.0f / tickrate;

	RETURN_META_VALUE(MRES_SUPERCEDE, tickinterval );
}
and compile it for linux and windows?
i tryed to compile it by myself but i get error on this line
Code:
SourceHook::Impl::CSourceHookImpl g_SourceHook;
Code:
Error C3083: 'Impl': the symbol to the left of a '::' must be a type

Last edited by DIFF; 08-01-2010 at 14:49. Reason: some more info
DIFF is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode