control the sprint speed of a player
#1

hi all
i know that what i'm gonna aske is 100% posible & it will be very helpfull for all the user
i all knwo that the sprint when we use UsePlayerPedAnims(); is the same for all
so all the players has the same speed
but now i'm looking for way to make one player faster than the other
i mean
if we have 2 team
Team 1 & Team 2
if the one player spawn in team 2 he will run a litelbit faster than player in team 1
pls don't telme to use animation caus i've try it & it's real not intresting
i try with setplayervelocity too but i fail
any solution or just an idea
Reply
#2

It isn't possible, SetPlayerVelocity will only affect players that are off the ground
Reply
#3

Quote:
Originally Posted by SilentHuntR
Посмотреть сообщение
It isn't possible, SetPlayerVelocity will only affect players that are off the ground
i'm sur that thйr is a way caus i saw 2 server like that
Reply
#4

Hmm, i'll have to think about that..
Reply
#5

for exaple Los Santo Zombie Appocalypse have this i think
zombies run faster than human
Reply
#6

You need to like run a 0.2X script on a 0.3c server. (needs to be compatible)
Reply
#7

The skins they use for zombies are slightly faster at sprinting when UsePlayerPedAnims() isn't included under OnGameModeInit.

It's a skin, not something scripted to make certain players run faster.
Reply
#8

Quote:
Originally Posted by _Outbreak_
Посмотреть сообщение
The skins they use for zombies are slightly faster at sprinting when UsePlayerPedAnims() isn't included under OnGameModeInit.

It's a skin, not something scripted to make certain players run faster.
as you probably don't see ... i said that UsePlayerPedAnims() set the same animations to all the player except 2 skins ! two skaters ! so no what you said is compleatly rong
Reply
#9

Quote:
Originally Posted by Amine_Mejrhirrou
Посмотреть сообщение
as you probably don't see ... i said that UsePlayerPedAnims() set the same animations to all the player except 2 skins ! two skaters ! so no what you said is compleatly rong
The roller skate ones won't run properly, and never have in SAMP.

Adding "UsePlayerPedAnims()" under OnGameModeInit() would make all skins run a little like CJ. The server you mentioned doesn't use CJ running style for skins. That's why some skins are faster than others. The bald farmer man with no shirt on runs faster than some of the other peds, there maybe a few more skins like that but that's how it works in that server.
Reply
#10

This subject is useless.. It's not possible so, just stop discussing? Stop waisting eachothers time?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)