just stopped in to say hi before crow bans me
- {LS}RePublic
- Posts: 538
- Joined: Fri Apr 04, 2014 5:04 am
Re: just stopped in to say hi before crow bans me
I'm pretty sure his name is qawq.. Pronounced, "cock".
Re: just stopped in to say hi before crow bans me
lol, still so full of love.
Re: just stopped in to say hi before crow bans me
Groove I think that you need to export those changes to your play.gui after you set the chat box dimensions, so that it will load from the file next time. It's been years literally since I've messed with this stuff so I'll have to look into it more. When I was building huds, sometimes the play.gui would save automatically and load back up after restarting, even though I never coded it to do that. This would result in my script loading over the top of the HUD that had saved magically. There is something going on that is resetting your box dims, idk if it is in script or in the .exe itself
Re: just stopped in to say hi before crow bans me
Thanks for the reply, bawb.
unfortunately, the chat input seems to ignore changes to play.gui - i can load play.gui with whatever width value but it doesn't apply. poking around the .exe, i see where the size is being set but the code doesn't actually run until the map is loaded. then you can change it in tree() and it'll stick - until close, when play.gui exports and sure enough, it exports the default value of 370 (which it doesn't use)
i'm guessing that the chatinput gets created by the .exe on first map load, rather than on start when it loads play.gui - so changes to play.gui don't affect it
was hoping that there'd be some way to send the value after its created, like tree() seems to do but maybe i'm totally wrong
made a plugin that does it anyways so it's not a big deal, but i was just convinced that if it can be done in tree() it shouldn't need a plugin
unfortunately, the chat input seems to ignore changes to play.gui - i can load play.gui with whatever width value but it doesn't apply. poking around the .exe, i see where the size is being set but the code doesn't actually run until the map is loaded. then you can change it in tree() and it'll stick - until close, when play.gui exports and sure enough, it exports the default value of 370 (which it doesn't use)
i'm guessing that the chatinput gets created by the .exe on first map load, rather than on start when it loads play.gui - so changes to play.gui don't affect it
was hoping that there'd be some way to send the value after its created, like tree() seems to do but maybe i'm totally wrong
made a plugin that does it anyways so it's not a big deal, but i was just convinced that if it can be done in tree() it shouldn't need a plugin
Re: just stopped in to say hi before crow bans me
Idk man sounds like you know more than I do about gui's
Re: just stopped in to say hi before crow bans me
Sup ghosty been a while, I think you're overdue for one of my lovely picture messages! lol
Re: just stopped in to say hi before crow bans me
hahaha ok i'll keep @ it, i'm sure i'll figure it outbawb wrote:Idk man sounds like you know more than I do about gui's
what about this one?
viewtopic.php?f=25&t=6515