![]() |
|
Remove HUD element - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Remove HUD element (/Thread-Remove-HUD-element.html) |
Remove HUD element - AZUMIKKEL - 09-13-2011 http://pastebin.com/CTqpMC5C ctrl+f for *tag* RE: WHY DOESN'T THIS FUCK WORK? - ddaavvee - 09-13-2011 shouldn't it be self delete(); ? RE: WHY DOESN'T THIS FUCK WORK? - AZUMIKKEL - 09-13-2011 that would delete the player. what RE: WHY DOESN'T THIS FUCK WORK? - OrangePL - 09-13-2011 try destroyelem() RE: WHY DOESN'T THIS FUCK WORK? - 4FunPlayin - 09-13-2011 azumikkel what the fuck man you lost my respect towards you. you, YOU made a thread in "modding problems"? RE: WHY DOESN'T THIS FUCK WORK? - Pozzuh - 09-13-2011 add isdefined() everywhere RE: WHY DOESN'T THIS FUCK WORK? - AZUMIKKEL - 09-13-2011 (09-13-2011, 21:17)4FunPlayin Wrote: azumikkel what the fuck man you lost my respect towards you. It's been fucking with me for 5 hours+ This shit isn't normal! Like, since when does 'delete();' give a lagspike? Yeah, that one took me 3.5 hours to find, simply because it's so retarded and never happened before. THEN it starts running notifies without me telling it to, THEN it won't remove the elements, and now I've got a warning
RE: WHY DOESN'T THIS FUCK WORK? - SuperNovaAO - 09-13-2011 Something that I would consider logical would be that the event that this listens for gets fired a bazillion times a second: Code: ret = self waittill_any_return("powerup_kill", "powerdown");RE: WHY DOESN'T THIS FUCK WORK? - Phl3x_ - 09-13-2011 It could have something to do with the values you put into the the square brackets for the "HudLevelName" variable. Doesn't "self.pers["LVL"]]" give the current level you're on? And later when you try to destroy the elem, you write HudLevelName[self.pers["LVL"]-1] destroy(); Which might be causing an error. At the moment, I can't see why you did that :S RE: WHY DOESN'T THIS FUCK WORK? - AZUMIKKEL - 09-14-2011 (09-13-2011, 22:08)Phl3x_ Wrote: It could have something to do with the values you put into the the square brackets for the "HudLevelName" variable. Doesn't "self.pers["LVL"]]" give the current level you're on? And later when you try to destroy the elem, you write HudLevelName[self.pers["LVL"]-1] which, let's say, would be HudLevelName[2] is just a hud element. |