Raised This Month: $ Target: $400
 0% 

how to get CPU Stat?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lucky109
Senior Member
Join Date: Jan 2005
Old 02-11-2008 , 21:36   how to get CPU Stat?
Reply With Quote #1

as title....
iCPU Loading..like : 75% Loading

Code:
public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	set_task(5.0, "Stats", 0,"",0, "b")
}
public Stats()
{
	new Stat = get_cvar_string("stats")
	set_hudmessage(0, 255, 0, 0.02.0, 0.66, 0, 6.0, 12.0)
	show_hudmessage(id, "%s", Stat)

	
}
this will mostly not work cuz the command stats print's 2 lines ...
lucky109 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 18:47.


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