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

Need a working function get_user_maxspeed for steam


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The19
New Member
Join Date: Mar 2004
Location: Germany-Paderborn
Old 03-09-2004 , 03:46   Need a working function get_user_maxspeed for steam
Reply With Quote #1

Ive been having problems with the AMX function get_user_maxspeed()
It works with 1.5, but not with 1.6, it keeps returning 1 instead of speeds like
Knife: 260, Glock: 250

So im hoping you get this to work with AMX MOD X ^^

And i was thinking if you get this to work for 1.6, you could (if the Metamod function allows it) add functions like set _user_airacceleration, and the other speed settings from HL / CS . That would be great.
__________________
Never judge a book by its cover
The19 is offline
Send a message via ICQ to The19 Send a message via AIM to The19 Send a message via MSN to The19 Send a message via Yahoo to The19
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-09-2004 , 06:13  
Reply With Quote #2

You can change any entity variables (commonly referred to as "entvars") with ENGINE module. (entity_set_float(index, EV_FL_airaccelerate, somevalue))
Johnny got his gun is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 03-09-2004 , 08:06  
Reply With Quote #3

get not set.
DopeFish is offline
Send a message via ICQ to DopeFish
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-09-2004 , 08:09  
Reply With Quote #4

entity_get_float(index, EV_FL_airaccelerate)
Johnny got his gun is offline
The19
New Member
Join Date: Mar 2004
Location: Germany-Paderborn
Old 03-09-2004 , 11:18  
Reply With Quote #5

But that is only possible over Metamod, correct?

or can I use these functions with an AMX plugin? and if yes how, and how do I get the players Entity ID? the AMX player id function only gives me the player id from 1 to 32, but thats not the entity id.......?!?!


ThAnKs


Ent
__________________
Never judge a book by its cover
The19 is offline
Send a message via ICQ to The19 Send a message via AIM to The19 Send a message via MSN to The19 Send a message via Yahoo to The19
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 14:22.


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