Hi does anyone know where I can get a list of entity names or the entity name for sentry guns? I need to remove them after a round ends in zmod, I just need the name and I have no clue what it is.
Printable View
Hi does anyone know where I can get a list of entity names or the entity name for sentry guns? I need to remove them after a round ends in zmod, I just need the name and I have no clue what it is.
sentry_minigun_mp
Try that?Code:ents = getentarray( "script_model", "classname" );
foreach(ent in ents) {
if(isSubStr(ent.model, "sentry"))
ent delete();
}