Run fast (Velocity)
#1

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

PHP код:
new Float:x,Float:y,Float:z;
GetPlayerVelocity(playerid,x,y,z);
SetPlayerVelocity(playerid,x*1.2,y*1.2,z); 
Reply
#3

-removed-
Reply
#4

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

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

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

Easily possible not sure what you guys are talking about lol
Reply
#8

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!
Reply
#9

Use a pill pickup.
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)