Garry's Mod Wiki

SANDBOX:PlayerSpawnEffect

boolean SANDBOX:PlayerSpawnEffect( Player ply, string model )

Description

Called to ask if player allowed to spawn a particular effect or not.

Arguments

1 Player ply
The player that wants to spawn an effect
2 string model
The effect model that player wants to spawn

Returns

1 boolean
Return false to disallow spawning that effect

Page Links


Special Pages


Wikis

?

Render Time: 31ms

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