Run fast (Velocity) -
iulicxd - 03.08.2016
How to make to run faster?
i tried
Код:
new Float:x,Float:y,Float:z;
GetPlayerVelocity(playerid, Float:x,Float:y,Float:z);
GetXYInFrontOfPlayer(playerid, x, y, 1.0);
SetPlayerVelocity(playerid, x+10,y,z);
But not working...I need when press key,to run behind camera
Re: Run fast (Velocity) -
AbyssMorgan - 03.08.2016
PHP код:
new Float:x,Float:y,Float:z;
GetPlayerVelocity(playerid,x,y,z);
SetPlayerVelocity(playerid,x*1.2,y*1.2,z);
Re: Run fast (Velocity) -
Deadpoop - 03.08.2016
-removed-
Re: Run fast (Velocity) -
iulicxd - 03.08.2016
Quote:
Originally Posted by AbyssMorgan
PHP код:
new Float:x,Float:y,Float:z;
GetPlayerVelocity(playerid,x,y,z);
SetPlayerVelocity(playerid,x*1.2,y*1.2,z);
|
Not working .......
Re: Run fast (Velocity) -
Luicy. - 03.08.2016
You can't do that without thinking about it under days.
You need to know exact how much you should divide, multiply etc.
It's impossible right now, since no one has done it.
This question was also asked about vehicles, how to make them faster.
Re: Run fast (Velocity) -
Sew_Sumi - 03.08.2016
Quote:
Originally Posted by Meller
This question was also asked about vehicles, how to make them faster.
|
Vehicles are different.
Players don't work like this.
Re: Run fast (Velocity) -
Andregood - 03.08.2016
Easily possible not sure what you guys are talking about lol
Re: Run fast (Velocity) -
iulicxd - 03.08.2016
Quote:
Originally Posted by Andregood
Easily possible not sure what you guys are talking about lol
|
It's possible to Speed-Run like Flash when press key?
SORRY FOR MY BAD ENGLISH!
Re: Run fast (Velocity) -
cdoubleoper - 03.08.2016
Use a pill pickup.
Re: Run fast (Velocity) -
Andregood - 03.08.2016
Quote:
Originally Posted by iulicxd
It's possible to Speed-Run like Flash when press key?
SORRY FOR MY BAD ENGLISH!
|
Yes, increase the player velocity when pressing a button not sure what's that hard about it, I've done it and displayed it if this is what you mean, it's limited to a slower speed (you can go faster).
(Using the angle ofc)
https://www.youtube.com/watch?v=u980_GWiSOw