Raised This Month: $ Target: $400
 0% 

Enable Slow Down


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
point.blank
Member
Join Date: Oct 2007
Old 12-02-2007 , 03:11   Enable Slow Down
Reply With Quote #1

What is the opposite of

Code:
 
set_pev(id, pev_fuser2, 0.0);
meaning... what enables slowdown when a player jumps?
__________________
point.blank is offline
Old 12-02-2007, 17:15
Careface
This message has been deleted by Careface.
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-02-2007 , 17:53   Re: Enable Slow Down
Reply With Quote #2

If you want to see it in real time :
Code:
#include <amxmodx> #include <fakemeta> public plugin_init() {     register_plugin("test slowdown", "0.1", "connor")     register_forward(FM_PlayerPreThink, "fwdPlayerPreThink") } public fwdPlayerPreThink(id) {     if(!is_user_alive(id))         return FMRES_IGNORED     static Float:fuser2     pev(id, pev_fuser2, fuser2)     client_print(id, print_center, "slowdown = %4.1f", fuser2)     return FMRES_HANDLED }
ConnorMcLeod is offline
point.blank
Member
Join Date: Oct 2007
Old 12-02-2007 , 18:44   Re: Enable Slow Down
Reply With Quote #3

I don't quite understand, what I'm looking for is a way to keep slowdown

Connorr, yours Gives me a lot of numbers which I'm not sure what to do with, and

Quote:
new Float: DefaultValue = pev(id, pev_fuser2)
client_print(id, print_chat, "DefaultValue = %f", DefaultValue)
always shows 0
__________________

Last edited by point.blank; 12-02-2007 at 18:49.
point.blank is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-03-2007 , 04:42   Re: Enable Slow Down
Reply With Quote #4

Default value is 0.0
Each time you jump, value increases, then decrease.
There is no "opposite".

If you told what you want to do, it would be easier for you to get advices ;)
ConnorMcLeod is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 12-03-2007 , 05:39   Re: Enable Slow Down
Reply With Quote #5

I would assume that there is a plugin stopping all players from slowing down on landing.

This should be removed for certain players / in certain instances.

My advice would be to do it the other way - check before setting it to 0 instead.
purple_pixie 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:01.


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