Vehicle/CheckExitPoint

From Garry's Mod
Jump to: navigation, search
 Vehicle:CheckExitPoint( )

Contents

Description

Tries to find an Exit Point for leaving vehicle, if one is unobstructed in the direction given.

Arguments

number yaw

Yaw/roll from vehicle angle to check for exit

Arguments

number distance

Distance from origin to drop player

Returns

Vector

Returns the vector for exit position or nil if cannot exit that way.
Personal tools
Navigation