Garry's Mod Wiki

SANDBOX:PlayerSpawnedSWEP

SANDBOX:PlayerSpawnedSWEP( Player ply, Entity ent )

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

1 Player ply
The player that spawned the SWEP
2 Entity ent
The SWEP itself

Page Links


Special Pages


Wikis

?

Render Time: 36ms

Session 0
DB GetPage 6
Generate Html 9
SaveChanges 11
Render Body 0
Render Sidebar 8