AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Need a working function get_user_maxspeed for steam (https://forums.alliedmods.net/showthread.php?t=143)

The19 03-09-2004 03:46

Need a working function get_user_maxspeed for steam
 
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.

Johnny got his gun 03-09-2004 06:13

You can change any entity variables (commonly referred to as "entvars") with ENGINE module. (entity_set_float(index, EV_FL_airaccelerate, somevalue))

DopeFish 03-09-2004 08:06

get not set.

Johnny got his gun 03-09-2004 08:09

entity_get_float(index, EV_FL_airaccelerate)

The19 03-09-2004 11:18

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


All times are GMT -4. The time now is 00:07.

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