Garry's Mod Wiki

Player:SetAllowWeaponsInVehicle

Player:SetAllowWeaponsInVehicle

  Player:SetAllowWeaponsInVehicle( boolean allow )

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.

Issue Tracker: 1277

Arguments

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

Special Pages


Wikis

?

Render Time: 21ms

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