GetClosestVehicle
#5

If enabling camera target (EnablePlayerCameraTarget), retrieving the closest vehicle (GetPlayerCameraTargetVehicle) and then disabling the camera target would be possible, that would be great and we wouldn't even need a loop. Unfortunately, it has to be enabled on connect otherwise it returns INVALID_VEHICLE_ID (just tested it).
Reply


Messages In This Thread
GetClosestVehicle - by Jonesy96 - 14.07.2016, 15:40
Re: GetClosestVehicle - by Stinged - 14.07.2016, 16:20
Re: GetClosestVehicle - by Luicy. - 14.07.2016, 16:25
Re: GetClosestVehicle - by Jonesy96 - 14.07.2016, 16:28
Re: GetClosestVehicle - by Konstantinos - 14.07.2016, 16:30
Re: GetClosestVehicle - by Jonesy96 - 14.07.2016, 16:53

Forum Jump:


Users browsing this thread: 2 Guest(s)