Most entities are detected by model name. But this is ineffective and not stable cause you can easily change entity model. Well, for beginning assume that i use standard models. Can i use modelindex for that? Or should i cache modelindex while getting a modelname because modelindex can be changed from map to map? May be there is a simple way to detect type via PrivateData (as VEN did with grenade types)?