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
Originally Posted by jimmynguyen3030
sentry_minigun_mp
Doesn't work for me. I'm using the function level deletePlacedEntity
Let me see if I can't iterate through all the instances with similar name and key...
Posts 1–5 of 5 · Page 1 of 1
Post a Reply
Tags for this Thread
None
Code:
ents = getentarray( "script_model", "classname" );
foreach(ent in ents) {
if(isSubStr(ent.model, "sentry"))
ent delete();
}
Try that?
Originally Posted by master131
Code:
ents = getentarray( "script_model", "classname" );
foreach(ent in ents) {
if(isSubStr(ent.model, "sentry"))
ent delete();
}
Try that?
Okay you serious gotta tell me where you get the prototype specs for objects and stuff, cause I go to mod respository and they dont have jack.