Results 1 to 2 of 2
  1. #1
    mirc00's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    78

    Access icons from different functions

    Hey,

    i created a function, which creates me an icon.

    custom_ks()
    {
    KillstreakIcon = self createIcon("cardicon_shuriken", 32, 32);
    KillstreakIcon setPoint("Center", "Center", 0, -165);
    KillstreakIcon.foreground = false;
    }


    If i try to access this icon from another thread, it won't work. I want to destroy this element like "KillstreakIcon destroyElem();" from a different thread. Is there a way to search for all elements on the screen by name and if it founds it, it will destroy it?

    greets!

  2. #2
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    self.killstreakicon

Similar Threads

  1. Swapping Invites From Different Sites
    By gbatemper123 in forum Selling Accounts/Keys/Items
    Replies: 0
    Last Post: 10-20-2010, 05:46 PM
  2. Add in LTB files from different games?
    By iGlitchFoolz in forum Combat Arms Mod Discussion
    Replies: 6
    Last Post: 03-08-2010, 10:54 PM
  3. [Help] Using dim's from Public Functions
    By apezwijn in forum Visual Basic Programming
    Replies: 4
    Last Post: 10-10-2009, 11:05 AM
  4. Replies: 1
    Last Post: 09-04-2007, 10:27 PM
  5. ItemShop Hex Different From p to p what next?
    By khaid in forum WarRock - International Hacks
    Replies: 10
    Last Post: 07-26-2007, 12:58 AM