Entity:GetClass
Description
Returns the classname of a entity. This is often the name of the Lua file or folder containing the files for the entity
Returns
Example
Prints the classname of the weapon that the player is holding.
Output: Prints the classname of the weapon that the player is holding. (ie weapon_crowbar)