Thread: [Solved] hide entity
View Single Post
Author Message
Tote
Senior Member
Join Date: Jul 2023
Old 08-06-2023 , 13:56   hide entity
Reply With Quote #1

Hello.
Im trying to find a way to hide an entity which is being used in another plugin. For example an entity class name(d) "ent_hat" is being used in a plugin, if i want to get the classname of this entity in another plugin how can i do it?

Here's what im trying to do to get entity class name from another plugin:
static classname[32]
pev(ent, pev_classname, classname, 31)
if(is_valid(ent))
{
if(equal(classname, "ent_hat"))
{
do something//
}
}

Last edited by Tote; 08-07-2023 at 12:31.
Tote is offline