Garry's Mod Wiki

GM:CanPlayerEnterVehicle

GM:CanPlayerEnterVehicle

boolean GM:CanPlayerEnterVehicle( Player player, Vehicle vehicle, number role )

Description

Determines whether or not the player can enter the vehicle.

Called just before GM:PlayerEnteredVehicle.

Arguments

1 Player player
The player.
2 Vehicle vehicle
The vehicle.
3 number role
The seat number.

Returns

1 boolean
false if the player is not allowed to enter the vehicle.

Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 2
Generate Html 5
SaveChanges (1) 6
Render Body 0
Render Sidebar 6