Player/SetAllowWeaponsInVehicle

From Garry's Mod
Jump to: navigation, search
 Player:SetAllowWeaponsInVehicle( )

Description

Allows player to use his weapons in a vehicle. You need to call this before entering a vehicle.

BUG

Shooting in a vehicle fires two bullets.

Issue Tracker: #1277

BUG

Weapon viewpunch does not decay while in a vehicle, leading to incorrect aim angles.

Issue Tracker: #3261

Arguments

boolean allow

Show we allow player to use his weapons in a vehicle or not.
Personal tools
Navigation