Weapon holding & player running speed -
Chanty420 - 19.05.2018
No (1)I see players holding high range weapons like (m4,combat-shotgun etc) with two hands when the player is simply holding gun & standing & while running also.
In another server's, players hold weapons like m4 & combat shotgun with only one hand.
How can we handle this?
No (2) I see players running fast speedy in some server's & slowly in other servers. I don't think that's a speed because all players go same.
How can i change the running speed of player?
Can anyone help me for this cases? If you didn't understand my 1st case, i will upload picture's to make you understand.
Re: Weapon holding & player running speed -
JasonRiggs - 19.05.2018
The first thing is called PedAnims, If you want heavy weapons with two hands (Like CJ) you must add under
add this
PHP код:
UsePlayerPedAnims();
If you want the heavy guns with one hand then simply don't add this line..
Also CJ running style is faster than the normal one, That's the point..
Re: Weapon holding & player running speed -
Chanty420 - 19.05.2018
Quote:
Originally Posted by JasonRiggs
The first thing is called PedAnims, If you want heavy weapons with two hands (Like CJ) you must add under
add this
PHP код:
UsePlayerPedAnims();
If you want the heavy guns with one hand then simply don't add this line..
Also CJ running style is faster than the normal one, That's the point..
|
What about 2nd question & explain me in detail please.
Re: Weapon holding & player running speed -
Lokii - 19.05.2018
using UsePlayerPedAnims(); will set all skins animation to cj's
which will also use cj running animation and make them run faster
Re: Weapon holding & player running speed -
Chanty420 - 19.05.2018
All just i need to do is to remove this?
PHP код:
UsePlayerPedAnims():
Re: Weapon holding & player running speed -
Lokii - 19.05.2018
Quote:
Originally Posted by Chanty420
All just i need to do is to remove this?
PHP код:
UsePlayerPedAnims():
|
no add it to gamemodeinit
Re: Weapon holding & player running speed -
JasonRiggs - 19.05.2018
By the way it isn't
PHP код:
UsePlayerPedAnims():
But it is
PHP код:
UsePlayerPedAnims();
Re: Weapon holding & player running speed -
Chanty420 - 20.05.2018
Now i should remove it from the script or what?
Re: Weapon holding & player running speed -
DarkSkull - 20.05.2018
Quote:
Originally Posted by Chanty420
Now i should remove it from the script or what?
|
Just add the below code under OnGameModeInit();
PHP код:
UsePlayerPedAnims();
Re: Weapon holding & player running speed -
Chanty420 - 21.05.2018
Lol I want to remove the CJ speed & weapon holding, so i should remove this
PHP код:
UsePlayerPedAnims();
But if i remove the "UsePlayerPedAnims" & compile the script then the commands are not working
If i type /setweather 0 - the weather actually should change to 0, but now its showing /setweather - [ID]
Similarly
/ban 2 FH - it shows ( /ban (id) (reason) )
/kick
/warn
........ All commnands are not working when i do remove this from OnGameModeInt
PHP код:
UsePlayerPedAnims();