[TUT][ZP 5.0] Creating a plugin that will affects player speed
If you're creating a plugin that will affects a player speed, then never use this method to set's a player speed:
Instead, you should use PHP Code:
Examples of usage: PHP Code:
Notes
If you need examples, [ZP 5.0] Sprinting |
Re: [TUT][ZP 5.0] Creating a plugin that will affects player speed
after set the player max speed , we need to reset it back manually on next round or it will do it it self ?
|
Re: [TUT][ZP 5.0] Creating a plugin that will affects player speed
As long cs_reset_player_maxspeed(id) gets called. It will reset the speed. Then the speed will go according the human class/zombie class speed.
|
Re: [TUT][ZP 5.0] Creating a plugin that will affects player speed
You mean this tutorial allows you to set maxspeed without registering/using custom function (like PreThink)?
If yes this is use full :mrgreen: |
Re: [TUT][ZP 5.0] Creating a plugin that will affects player speed
Code:
from the fun module is bugged? |
Re: [TUT][ZP 5.0] Creating a plugin that will affects player speed
Quote:
Advantages of this is it reduces lines(which makes the plugin more readable), simple and a better way to do it. |
| All times are GMT -4. The time now is 16:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.