linnik Posted August 27, 2018 Posted August 27, 2018 Hi guys, why doesn't this "Vehicle.setMod(69, 2);" command work after spawning vehicle? There's no window tint on vehicle I spawn nearby.
Hanvod Posted August 28, 2018 Posted August 28, 2018 (edited) Can you give us an example of how you use this function? Edited August 28, 2018 by Hanvod my bad english
linnik Posted August 28, 2018 Author Posted August 28, 2018 1 час назад, Hanvod сказал: Can you give us an example of how you use this function? Цитата let Vehicle = mp.vehicles.new(Model, Position); Vehicle.setColor(parseInt(Color0), parseInt(Color1)); Vehicle.numberPlateType = 4; Vehicle.locked = true; Vehicle.engine = false; Vehicle.setMod(parseInt(Data["k"]), parseInt(Data["v"]));
Hanvod Posted August 28, 2018 Posted August 28, 2018 Vehicle.setMod(parseInt(Data["k"]), parseInt(Data["v"])); Are you sure all variables here is defined? Check it with console.log(). please
Hanvod Posted August 28, 2018 Posted August 28, 2018 (edited) Also you car maybe are not supporting this mod. Try to spawn Zentorno with setMod(0, 1) If there is a spoiler, that means that function works, but your car doesnt support 69 2 mod Edited August 28, 2018 by Hanvod
linnik Posted August 28, 2018 Author Posted August 28, 2018 (edited) 20 минут назад, Hanvod сказал: Also you car maybe are not supporting this mod. Try to spawn Zentorno with setMod(0, 1) If there is a spoiler, that means that function works, but your car doesnt support 69 2 mod I spawn sentinel and zion. It's quite supported cars esp. for window tint. But I'am trying your advice right now. WOW. it works. Zentorno has spoiler. WTF But anyway window tint (mod 69) doesn't work for all cars! Edited August 28, 2018 by linnik
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