Raised This Month: $46 Target: $400
 11% 

Simplest knife speed


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
gelesztamas
New Member
Join Date: Mar 2016
Old 03-23-2016 , 07:31   Simplest knife speed
Reply With Quote #1

Description
You can set the speed of a player with knife. Nothing more, nothing less.
Why?
If you want to speed up the gameplay, this is for you. There's already a similar plugin, but that speeds up the player with other weapons (grenades, awp, bomb).
Cvars
ks_enabled <1|0> enables the plugin
ks_speed <number> sets the speed with knife
Installation
Put the knifespeed.amxx to your plugins folder (cstrike/addons/amxmodx/plugins). To change the cvars, put them in your amxx.cfg (cstrike/addons/amxmodx/configs/amxx.cfg).
Attached Files
File Type: sma Get Plugin or Get Source (knifespeed.sma - 744 views - 1.2 KB)
gelesztamas is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 03-24-2016 , 05:38   Re: Simplest knife speed
Reply With Quote #2

cache the speed & enabled cvars into a variable instead of calling get_pcvar_num every time someone deploys there knife.
__________________

Last edited by Blizzard_87; 03-24-2016 at 05:40.
Blizzard_87 is offline
mforce
Member
Join Date: Jan 2015
Old 03-28-2016 , 03:50   Re: Simplest knife speed
Reply With Quote #3

plugin_continue at cvar 0? Curweapon is old, use ham_item_deploy for knife only
__________________
mforce @ hlmod.hu
mforce is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 03-28-2016 , 11:19   Re: Simplest knife speed
Reply With Quote #4

How can I set player speed?
Code:
ks_speed 1, 2, 3?
What is default speed? Can u explane me more because I'm new and i don't know much
__________________

Last edited by Artifact; 03-28-2016 at 11:24.
Artifact is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 03-28-2016 , 14:21   Re: Simplest knife speed
Reply With Quote #5

Quote:
Originally Posted by Blizzard_87 View Post
instead of calling get_pcvar_num every time someone deploys there knife.
Why is it a problem?
Krtola is offline
Send a message via Skype™ to Krtola
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-29-2016 , 15:46   Re: Simplest knife speed
Reply With Quote #6

did you make this plugin in 1 min?:O
__________________
Contact: Steam
Videos: Youtube
SkumTomteN is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-01-2016 , 10:54   Re: Simplest knife speed
Reply With Quote #7

Quote:
Originally Posted by Blizzard_87 View Post
cache the speed & enabled cvars into a variable instead of calling get_pcvar_num every time someone deploys there knife.
Caching is not really needed here.

Also, plugins is useless, this was done a lot of times before. Unapproved.
__________________
HamletEagle is online now
RoxBr
New Member
Join Date: Mar 2020
Old 03-26-2020 , 08:48   Re: Simplest knife speed
Reply With Quote #8

Quote:
Originally Posted by gelesztamas View Post
Description
You can set the speed of a player with knife. Nothing more, nothing less.
Why?
If you want to speed up the gameplay, this is for you. There's already a similar plugin, but that speeds up the player with other weapons (grenades, awp, bomb).
Cvars
ks_enabled <1|0> enables the plugin
ks_speed <number> sets the speed with knife
Installation
Put the knifespeed.amxx to your plugins folder (cstrike/addons/amxmodx/plugins). To change the cvars, put them in your amxx.cfg (cstrike/addons/amxmodx/configs/amxx.cfg).
Hello very good this plugin, a colleague here has this same plugin but it takes the sound of the steps, could someone edit or help me with a similar plugin !! ??

Last edited by RoxBr; 03-26-2020 at 10:12. Reason: Achei o comando mais não sei como inserir no plugin alguem para me ajudar??? o comando é set_user_footsteps !!
RoxBr is offline
Reply


Thread Tools
Display Modes

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 05:02.


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