Garry's Mod Wiki

Player:SetAllowWeaponsInVehicle

Description

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

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

Arguments

1 boolean allow
Show we allow player to use his weapons in a vehicle or not.

Page Links


Special Pages


Wikis

?

Render Time: 34ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 13
Render Body 0
Render Sidebar 13