0xNull Posted January 29, 2018 Posted January 29, 2018 How to spawn car in custom player.dimension? If i just calling this: mp.vehicles.new(418536135, new mp.Vector3(-17.460, 39.787, 71.318)); Car spawned in 0 player.dimension. How fix it? How to spawn in current dimension?
Calgon Posted January 29, 2018 Posted January 29, 2018 var NewVeh = mp.vehicles.new(418536135, new mp.Vector3(-17.460, 39.787, 71.318)); NewVeh.dimension = player.dimension; Create a variable to handle the new vehicle, and set the dimension of your new vehicle to the player's dimension. This has to be in a function where the player handle/variable exists so like a command or something/
0xNull Posted January 29, 2018 Author Posted January 29, 2018 2 часа назад, Calgon сказал: var NewVeh = mp.vehicles.new(418536135, new mp.Vector3(-17.460, 39.787, 71.318)); NewVeh.dimension = player.dimension; Create a variable to handle the new vehicle, and set the dimension of your new vehicle to the player's dimension. This has to be in a function where the player handle/variable exists so like a command or something/ Thank you!
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