Garry's Mod Wiki


Player:SetAllowWeaponsInVehicle( boolean allow )


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.

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

Issue Tracker: 3261


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

Page Links

Special Pages



Render Time: 45ms

DB GetPage 8
Generate Html 2
SaveChanges (1) 23
Render Body 0
Render Sidebar 10