bebo1king Posted October 18, 2015 Posted October 18, 2015 i am trying to use setElementVelocity my Question is if i use this code for makeing a skin run faster than other does it may works ?
Ab-47 Posted October 18, 2015 Posted October 18, 2015 Should do, although I've never tried. Use a loop to get all the players, add a check to see which players have that specific character ID then add the statement which sets the players velocity in addition to the current velocity using getElementVelocity. You will have to somehow get the local players velocity and that not being in the loop, cause if you have more than 1 player with the matching character ID, the data won't sync to a singular element yet more than 1 persons data would be jumbled up and you'll be running depending on yours and his velocity state. Hope I could help
Moderators IIYAMA Posted October 18, 2015 Moderators Posted October 18, 2015 It doesn't. When the ped is on the ground it gets limited by the GTA default running/walking speed. When you overuse setElementVelocity you will get yourself flying. But setElementVelocity can increase the acceleration speed of a ped t/m the speed limit.
Ab-47 Posted October 18, 2015 Posted October 18, 2015 Why not use 'setGameSpeed' client sided according to that singular ped?
bebo1king Posted October 18, 2015 Author Posted October 18, 2015 Why not use 'setGameSpeed' client sided according to that singular ped? Good idea bro , thx + thank you all i am beginner
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now