From Garry's Mod
Gets the model of given entity.
This does not necessarily return the model's path, as is the case for brush and virtual models. This is intentional behaviour, however, there is currently no way to retrieve the actual file path.
Issue Tracker: #2246