18.06.2017, 22:25
Hello guys,
So i am going to make a roleplay gamemode. However i don't think there are enough vehicles for samp, so i want somehow to boost vehicles speed and limits etc so i can create real life vehicles (not the model but attleast speed and velocity). All i did so far was being able to calculate coordinates ahead of the player, get the coordinates from the vehicle current position, subtract them, multiply it by a speed multiplier and then set the velocity to the final result. That will make some kind of Cruise Control that keeps the vehicle steady at that velocity. However i do not want that. I want to make the vehicle speed up like 2.5% each second, but only forward. Hope you guys understand me.
So i am going to make a roleplay gamemode. However i don't think there are enough vehicles for samp, so i want somehow to boost vehicles speed and limits etc so i can create real life vehicles (not the model but attleast speed and velocity). All i did so far was being able to calculate coordinates ahead of the player, get the coordinates from the vehicle current position, subtract them, multiply it by a speed multiplier and then set the velocity to the final result. That will make some kind of Cruise Control that keeps the vehicle steady at that velocity. However i do not want that. I want to make the vehicle speed up like 2.5% each second, but only forward. Hope you guys understand me.