increased speed decreasing when picking weapons
Hi all.
I have this with which sets a players maxspeed with success: PHP Code:
I have tried making a code to prevent that from happening, but I don't know how to trigger that so it executes whne the player picks a weapon up. The code: PHP Code:
|
Re: increased speed decreasing when picking weapons
Do it in event current weapon..
|
Re: increased speed decreasing when picking weapons
It's better to use Ham_Item_PreFrame.
|
Re: increased speed decreasing when picking weapons
Ham_Item_PreFrame worked ! Ty alot :)
|
Re: increased speed decreasing when picking weapons
a client's maxspeed changes for every weapon. Because every weapon has a different weight, and thus the engine wants to reflect that in the entity's motion. Do as stated above and set it at every CurWeapon, or Ham_Item_PreFrame. Whichever's clever.
This was stated in the set_user_maxspeed's documentation on the wiki, if you read it. |
| All times are GMT -4. The time now is 06:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.