SetPlayerVelocity question
#1

How can I make the player jump in the direction he's facing using SetPlayerVelocity?

I tried using this code

pawn Код:
new Float:X,Float:Y;
GetXYInFrontOfPlayer(playerid,X,Y,2.0);
SetPlayerVelocity(playerid,X,Y,0.2);
But that didn't really work anything like I had expected it too...

Ideas?
Reply


Messages In This Thread
SetPlayerVelocity question [Rep+] - by Celson - 19.12.2011, 03:41
Re: SetPlayerVelocity question - by Celson - 03.01.2012, 08:41
Re: SetPlayerVelocity question - by Celson - 06.01.2012, 02:40
Re: SetPlayerVelocity question - by Celson - 10.01.2012, 12:01
Re: SetPlayerVelocity question - by T0pAz - 10.01.2012, 12:09
Re: SetPlayerVelocity question - by Shadoww5 - 10.01.2012, 12:47
Re: SetPlayerVelocity question - by Celson - 11.01.2012, 02:37
Re: SetPlayerVelocity question - by Snowman12 - 11.01.2012, 02:41
Re: SetPlayerVelocity question - by Celson - 11.01.2012, 03:05
Re: SetPlayerVelocity question - by Snowman12 - 11.01.2012, 03:12

Forum Jump:


Users browsing this thread: 1 Guest(s)