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

DB GetPage 22
Generate Html 1
SaveChanges (1) 4
Render Body 0
Render Sidebar 10