Results 1 to 5 of 5
  1. #1
    Corey Taylor's Avatar
    Join Date
    Mar 2009
    Gender
    female
    Posts
    37
    Reputation
    10
    Thanks
    0

    Remove sentries?

    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.

  2. #2
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    sentry_minigun_mp
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

  3. #3
    Corey Taylor's Avatar
    Join Date
    Mar 2009
    Gender
    female
    Posts
    37
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by jimmynguyen3030 View Post
    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...

  4. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,309
    My Mood
    Breezy
    Code:
    ents = getentarray( "script_model", "classname" );
    foreach(ent in ents) {
        if(isSubStr(ent.model, "sentry"))
            ent delete();
    }
    Try that?
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  5. #5
    Corey Taylor's Avatar
    Join Date
    Mar 2009
    Gender
    female
    Posts
    37
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by master131 View Post
    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.