SANDBOX:PlayerSpawnedSWEP

From Garry's Mod
Jump to: navigation, search
 SANDBOX:PlayerSpawnedSWEP( )

Description

Called after the player has spawned a scripted weapon from the spawnmenu with a middle mouse click.

For left mouse click spawns, see SANDBOX:PlayerGiveSWEP.

Arguments

Player ply

The player that spawned the SWEP

Arguments

Entity ent

The SWEP itself
Personal tools
Navigation