Raised This Month: $51 Target: $400
 12% 

[CSGO] Speedmeter


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bonnis
Senior Member
Join Date: Apr 2013
Old 09-11-2017 , 10:07   [CSGO] Speedmeter
Reply With Quote #1

I'm looking for a working Speedmeter plugin.
i only want the speedmeter function.

is there any plugin out there, thats work? iv'e search and i was finding alot but none working.

I want the meter in lower center as there is in "timer" plugins.
but i only want the speed meter.

can any1 fix?


thanks

//Bonnis
Bonnis is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 09-11-2017 , 10:10   Re: [CSGO] Speedmeter
Reply With Quote #2

https://www.sourcemod.net/plugins.ph...tion=&search=1

last time tested this worked for me
https://forums.alliedmods.net/showthread.php?p=2336846
__________________
coding & free software

Last edited by shanapu; 09-11-2017 at 10:12.
shanapu is offline
darthelmo1
Junior Member
Join Date: Nov 2016
Old 09-11-2017 , 21:22   Re: [CSGO] Speedmeter
Reply With Quote #3

https://github.com/zSkyworld/zSkyworld

Here's one with some more features, used on trick surf servers.
darthelmo1 is offline
Bonnis
Senior Member
Join Date: Apr 2013
Old 09-12-2017 , 14:22   Re: [CSGO] Speedmeter
Reply With Quote #4

Quote:
Originally Posted by darthelmo1 View Post
https://github.com/zSkyworld/zSkyworld

Here's one with some more features, used on trick surf servers.
https://www.youtube.com/watch?v=weaJ...youtu.be&t=167

looking for someting like this?
Bonnis is offline
sHoC
Senior Member
Join Date: Nov 2015
Location: Italy
Old 09-14-2017 , 07:21   Re: [CSGO] Speedmeter
Reply With Quote #5

Quote:
Originally Posted by Bonnis View Post
I'm looking for a working Speedmeter plugin.
i only want the speedmeter function.

is there any plugin out there, thats work? iv'e search and i was finding alot but none working.

I want the meter in lower center as there is in "timer" plugins.
but i only want the speed meter.

can any1 fix?


thanks

//Bonnis
I made this plugin few months ago for one of my servers.
Its a nice speedmeter like in cs 1.6
Code:
/* Plugin Template generated by Pawn Studio */

#include < sourcemod >
#include < sdktools >
#include < sdkhooks >

public Plugin:myinfo = {
	name = "SpeedMetter: CSGO",
	author = "shoc^",
	description = "SpeedMetter",
	version = "1.0",
	url = "http://steamcommunity.com/id/shocbenz"
}

new Handle: isPluginEnabled

new bool: SpeedMetterEnabled[ MAXPLAYERS + 1 ]

public OnPluginStart( ) {
	isPluginEnabled = CreateConVar( "sm_speedmeter", "1", "1 - Active the speedmeter, 0 dezactiveaza", FCVAR_NOTIFY )
	
	RegConsoleCmd( "speed", Command_Speed )
}

public OnClientPutInServer( client ) {
	if( GetConVarInt( isPluginEnabled ) ) {
		SDKHook( client, SDKHook_PreThink, OnPreThink )
		
		SpeedMetterEnabled[ client ] = true
	}
}

public Action: Command_Speed( client, args ) {
	if( SpeedMetterEnabled[ client ] ) {
		SpeedMetterEnabled[ client ] = false
		
		PrintToChat( client, " \x04[SpeedMetter]\x09 now is\x02 disabled" )
	}
	else {
		SpeedMetterEnabled[ client ] = true
		
		PrintToChat( client, " \x04[SpeedMetter]\x09 now is\x06 activeted" )
	}
}

public OnPreThink( client ) {
	if( client != 0 && IsClientInGame( client ) && IsPlayerAlive( client ) && SpeedMetterEnabled[ client ] ) { 
		
		decl Float:VelFloat[ 3 ], Float:Speed
		GetEntPropVector( client, Prop_Data, "m_vecVelocity", VelFloat )
		
		for( new i = 0; i <= 2; i++ ) {
			VelFloat[ i ] *= VelFloat[ i ]
		}
		
		Speed = SquareRoot( VelFloat[ 0 ] + VelFloat[ 1 ] + VelFloat[ 2 ] )
		
		PrintHintText( client, "\n<font color='#EDED07' size='40'>%.1f </font>", Speed )
	}
}
__________________
sHoC is offline
Reply



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 11:12.


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