DistanceBetweenPeds3D
Description
Calculates the full three-dimensional distance between two pedestrian entities.
function DistanceBetweenPeds3D(ped1, ped2) --[[ ... ]] end
Parameters
ped1:integer- The first pedestrian entity.ped2:integer- The second pedestrian entity.
Return Values
dist:number- The 3D distance between the two peds.
Example
None.