[INC] Bye bye [Trash this!]
Please delete!
|
Re: [INC] Speed API
You should add the compatability with other plugins, so the forward is called when another plugin changes the player's maxspeed.
Also, I believe fm_get_user_maxspeed() is included with fakemeta_util. I may be wrong. |
Re: [INC] Speed API
Quote:
|
Re: [INC] Speed API
Quote:
|
Re: [INC] Speed API
Quote:
|
Re: [INC] Speed API
Example:
Code:
Code:
|
Re: [INC] Speed API
You will have to be careful about recursion if you execute the forward when another plugin changes the speed. Most likely every plugin using the forward will change the speed during the forward, so even if you prevent self-recursion, if you have at least 2 plugins using the forward then it will snowball infinitely.
Also, fakemeta_util is a default include now (in case you didn't already know), but by including it you might up the size of the plugin a little bit. |
Re: [INC] Speed API v2.0
Updated it! It has more functions now ;).
Suggestions are welcomed! |
Re: [INC] Speed API v2.0
It looks like you didn't update the SMA. ;)
|
Re: [INC] Speed API v2.0
Quote:
|
All times are GMT -4. The time now is 03:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.