how do you set faster speed?
How can you make that only Ts can run faster?
|
Re: how do you set faster speed?
if you know how you can set all players' speed, you can do that with the exact same way. This time you will need to check players' team with if statement.
|
Re: how do you set faster speed?
Quote:
Normal maximum speed is 250. example PHP Code:
|
Re: how do you set faster speed?
Alright.
So this should work only for Ts? PHP Code:
And for reset PHP Code:
|
Re: how do you set faster speed?
Set_user_maxspeed sets they speed for the current weapon
So i recomend to set speed in curweapon or ham deploy |
Re: how do you set faster speed?
@ironskillz1, yes, i forgot about that. if you switch weapons, it'll reset your speed.
something similar to this will have to be added to the code: PHP Code:
|
Re: how do you set faster speed?
-Set maxspeed at spawn is an incorrect method as maxspeed is changed and few occasions such as : weapon change, [un]zoom, [en/dis]able shield, plant bomb, ...
Hook CurWeapon or weapon deploy is not reliable enough since it won't catch all maxspeed changes. Here is correct way : First, make sure that you are running update hamsandwich version, you can DL it there : https://forums.alliedmods.net/showpo...9&postcount=34 ( If DL link has been removed, it means that the module has been integrated in default amxmodx package, may be for amxx 1.8.3) Then use this code : PHP Code:
|
Re: how do you set faster speed?
Quote:
PHP Code:
PHP Code:
PHP Code:
|
Re: how do you set faster speed?
Are you stupid or are you pulling my leg ?
|
Re: how do you set faster speed?
Quote:
Well i only need that right? |
| All times are GMT -4. The time now is 15:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.