Raised This Month: $ Target: $400
 0% 

Change server friction to 1


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
leakgfhp
Member
Join Date: Apr 2005
Old 10-18-2005 , 19:48  
Reply With Quote #1

or...when the player spawn set this: (i not tested)

Code:
#include <amxmodx> #include <engine> public plugin_init() {     register_plugin("test", "0.1", "Who")     register_cvar("amx_friction_test","1.0")    //Default_Value     register_event("ResetHUD","pSpawn","be") } public pSpawn(id){     entity_set_float(id, EV_FL_friction, get_cvar_float("amx_friction_test")) }
leakgfhp is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-18-2005 , 19:51  
Reply With Quote #2

Hmm, EV_FL_friction never crossed my mind. Sounds like a good idea if it'll work.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-19-2005 , 13:54  
Reply With Quote #3

nope doesnt work
__________________
atomic is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-19-2005 , 14:37  
Reply With Quote #4

What did you set it to?...
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
leakgfhp
Member
Join Date: Apr 2005
Old 10-19-2005 , 14:38  
Reply With Quote #5

you changed the value?

like amx_friction_test 0.1

1.0 is the default of the game = not make difference
leakgfhp is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-19-2005 , 14:57  
Reply With Quote #6

nope didnt work... i thought 4 was the default and 1 is "wet floor"
__________________
atomic is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-19-2005 , 15:10  
Reply With Quote #7

EV_FL_friction is different than sv_friction, just like EV_FL_gravity is different than sv_gravity.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-19-2005 , 15:13  
Reply With Quote #8

hmm... but anyways...the plugin didnt work
__________________
atomic is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-19-2005 , 15:27  
Reply With Quote #9

What code did you use?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-19-2005 , 16:00  
Reply With Quote #10

OMG it did work... good job
__________________
atomic 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 23:38.


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