Posts: 1,464
Threads: 90
Joined: Aug 2009
Reputation:
0
Hello, I was just wondering..how do you create a speed boost on key_fire?
I've tried it with SetPlayerVelocity -- GetPlayerVelocity but I can't figure it out. Please help heh.
TheInnocentOne
Unregistered
Posts: 1,464
Threads: 90
Joined: Aug 2009
Reputation:
0
} while(x<200 && y<200 && z<200);
TheInnocentOne
Unregistered
pawn Code:
} while(x < 200 && y < 200 && z < 200);
Posts: 1,464
Threads: 90
Joined: Aug 2009
Reputation:
0
adding spaces will help?
I'll still get the same error.
Posts: 63
Threads: 5
Joined: Nov 2008
Reputation:
0
I have a simple sys like this in my GM but its a little different, I use GetXYForwardVelocity(i edited GetXYInFrontOfPlayer)
Posts: 2,938
Threads: 162
Joined: May 2010
to much boost how to make it smaller
Posts: 1,150
Threads: 16
Joined: Oct 2009
Reputation:
0
I added the do-while loop so that the velocity remain below 200 and you don't reach the speed of light when you use the boost.
Posts: 89
Threads: 19
Joined: Dec 2010
Reputation:
0
can anyone make this speed boost can activate and deactivate on command pls