GM/CanPlayerEnterVehicle

From Garry's Mod
Jump to: navigation, search
 GM:CanPlayerEnterVehicle( )

Contents

Description

Determines whether or not the player can enter the vehicle.

Called just before GM:PlayerEnteredVehicle.

Arguments

Player player

The player

Arguments

Vehicle vehicle

The vehicle

Arguments

number role

Returns

boolean

False if the player is not allowed to enter the vehicle.
Personal tools
Navigation