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: 21ms

Session 0
DB GetPage 3
Generate Html 3
SaveChanges 8
Render Body 0
Render Sidebar 5