Open
Description
I'm proposing a new specifier %E
which takes an entity index which will insert the entity's classname. Similar how %N
inserts the players name. If you have a better character suggestion I'm open to hear about it.
Which will make code like this
void Foo( int entity)
{
char szClassName[32];
GetEntityClassname(entity, szClassName, sizeof(szClassName));
PrintToServer("ClassName: %s", szClassName);
}
be replaced with
void Foo( int entity)
{
PrintToServer("ClassName: %E", entity);
}