Player/GetEntityInUse

From Garry's Mod
Jump to: navigation, search
 Player:GetEntityInUse( )

Description

Returns the entity the player is currently using, like func_tank mounted turrets or +use prop pickups.

Returns

Entity

Entity in use, or NULL entity otherwise. For +use prop pickups, this will be NULL clientside.
Personal tools
Navigation