Weapon holding & player running speed
#1

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.
Reply
#2

The first thing is called PedAnims, If you want heavy weapons with two hands (Like CJ) you must add under
Quote:

OnPlayerConnect

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..
Reply
#3

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.
Reply
#4

using UsePlayerPedAnims(); will set all skins animation to cj's
which will also use cj running animation and make them run faster
Reply
#5

All just i need to do is to remove this?
PHP код:
UsePlayerPedAnims(): 
Reply
#6

Quote:
Originally Posted by Chanty420
Посмотреть сообщение
All just i need to do is to remove this?
PHP код:
UsePlayerPedAnims(): 
no add it to gamemodeinit
Reply
#7

By the way it isn't
PHP код:
UsePlayerPedAnims(): 
But it is
PHP код:
UsePlayerPedAnims(); 
Reply
#8

Now i should remove it from the script or what?
Reply
#9

Quote:
Originally Posted by Chanty420
Посмотреть сообщение
Now i should remove it from the script or what?
Just add the below code under OnGameModeInit();

PHP код:
UsePlayerPedAnims(); 
Reply
#10

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(); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)