05.05.2015, 10:51
Quote:
Adding the vehicles are streamed for a player to an iterator would be probably the way I'd do it instead of looping 2k times.
Though that function seems to be nice: https://sampwiki.blast.hk/wiki/GetPlayerCameraTargetVehicle since you get the vehicle ID the player is looking at and it (most likely) will chose the closest one. |