Persevering with the dialogue from [DEV Tool] Driving style calculator:
NOTE: When you’re a server proprietor, you possibly can skip this thread. That is meant for builders solely.
This easy car model calculator could be very minimal, nevertheless it will get the job finished. You’ll be able to choose any sort of auto model to be on/off and you’ll immediately discover the end result under to make use of in your scripts.
Net impressed by Vespura.
native ped = PlayerPedId() native coords = GetEntityCoords(ped) if IsAnyVehicleNearPoint(coords,15.0) then native closestveh = GetClosestVehicle(coords, 15.0, 0, 231807) --cars if closestveh == 0 then closestveh = GetClosestVehicle(coords, 15.0, 0, 391551) finish --airs if closestveh~=0 then print(closestveh) finish finish
Conclusion: This native is value making an attempt to make use of.