linnik 2 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. Share this post Link to post Share on other sites
Hanvod 9 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 Share this post Link to post Share on other sites
linnik 2 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"])); Share this post Link to post Share on other sites
Hanvod 9 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 Share this post Link to post Share on other sites
Hanvod 9 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 Share this post Link to post Share on other sites
linnik 2 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 Share this post Link to post Share on other sites