bebo1king Posted October 18, 2015 Share 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 ? Link to comment
Ab-47 Posted October 18, 2015 Share 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 Link to comment
Moderators IIYAMA Posted October 18, 2015 Moderators Share 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. Link to comment
Ab-47 Posted October 18, 2015 Share Posted October 18, 2015 Why not use 'setGameSpeed' client sided according to that singular ped? Link to comment
bebo1king Posted October 18, 2015 Author Share Posted October 18, 2015 Ab-47 said: Why not use 'setGameSpeed' client sided according to that singular ped? Good idea bro , thx + thank you all i am beginner Link to comment
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