mirror of
https://github.com/StyledStrike/gmod-custom-loadout.git
synced 2025-03-04 03:03:09 -05:00
commit
a5978dad36
@ -42,6 +42,7 @@ function CLoadout:GiveWeapons( ply )
|
|||||||
local maxPrimary = GetConVar( "custom_loadout_primary_limit" ):GetInt()
|
local maxPrimary = GetConVar( "custom_loadout_primary_limit" ):GetInt()
|
||||||
local maxSecondary = GetConVar( "custom_loadout_secondary_limit" ):GetInt()
|
local maxSecondary = GetConVar( "custom_loadout_secondary_limit" ):GetInt()
|
||||||
|
|
||||||
|
hook.Run( "CLoadoutPreGiveWeapons", ply, items )
|
||||||
local preferredWeapon = "weapon_physgun"
|
local preferredWeapon = "weapon_physgun"
|
||||||
|
|
||||||
for _, item in ipairs( items ) do
|
for _, item in ipairs( items ) do
|
||||||
|
Loading…
Reference in New Issue
Block a user