• Drawing issue?
    25 replies, posted
[code] draw.DrawText(DarkRP.getPhrase("lockdown_started"), "ScoreboardSubtitle", ScrW() * 0.5, ScrH() * 0.15, Color(cin * 255, 0, 255 - (cin * 255), 255), TEXT_ALIGN_CENTER ) [/code] That isn't drawing anything, neither is the default DarkRP lockdown text: [code] draw.DrawNonParsedText(DarkRP.getPhrase("lockdown_started"), "ScoreboardSubtitle", chbxX, chboxY + chatBoxSize, Color(cin * 255, 0, 255 - (cin * 255), 255), TEXT_ALIGN_LEFT)[/code] What is happening?
try setting the color to an actual color table, and dont use darkrp specific vars, which may be local, aka instea of cin, just use RGB.
[QUOTE=whitestar;48778282]try setting the color to an actual color table, and dont use darkrp specific vars, which may be local, aka instea of cin, just use RGB.[/QUOTE] The [I]default[/I] DarkRP code isn't drawing anything. It's in the [I]core files[/I], and fully updated.
[QUOTE=Sweepyoface;48782065]The [I]default[/I] DarkRP code isn't drawing anything. It's in the [I]core files[/I], and fully updated.[/QUOTE] Maybe its an addon overwriting it then? Who knows what stuff you got installed.
Try drawong the same thing in the same position but with actual string. Then you may check if its that function, or the draw pos being wrong
[QUOTE=whitestar;48782274]Maybe its an addon overwriting it then? Who knows what stuff you got installed.[/QUOTE] [url]http://prntscr.com/8ll84i[/url] [editline]28th September 2015[/editline] [QUOTE=geferon;48782297]Try drawong the same thing in the same position but with actual string. Then you may check if its that function, or the draw pos being wrong[/QUOTE] Nope, still doesn't work.
[QUOTE=Sweepyoface;48782627][url]http://prntscr.com/8ll84i[/url] [editline]28th September 2015[/editline] Nope, still doesn't work.[/QUOTE] Try lowercase the addon name, because there's chance that it is not being loaded.
[QUOTE=SteppuFIN;48786629]Try lowercase the addon name, because there's chance that it is not being loaded.[/QUOTE] As the interface its wondows. Windows its not case sensitive with the folders. Also, wich hook are you running that draw thing on?
[QUOTE=SteppuFIN;48786629]Try lowercase the addon name, because there's chance that it is not being loaded.[/QUOTE] The problem has nothing to do with FPP, which infact works fine. [editline]29th September 2015[/editline] [QUOTE=geferon;48786971]As the interface its wondows. Windows its not case sensitive with the folders. Also, wich hook are you running that draw thing on?[/QUOTE] Nope, it's WinSCP, linux. It's in the DarkRP core files, which hasn't been edited at all.
[QUOTE=Sweepyoface;48788544]The problem has nothing to do with FPP, which infact works fine. [editline]29th September 2015[/editline] Nope, it's WinSCP, linux. It's in the DarkRP core files, which hasn't been edited at all.[/QUOTE] Then lowercase the addons name
Like I said, that doesn't affect it at all and if it did why would it only cause that one problem, did you even read what I said?
Linux doesn't play well with uppercases in file names. It might not be causing your problem, but it's good to try it anyways.
Just as I suspected, it doesn't change a thing.
[QUOTE=Sweepyoface;48821135]Just as I suspected, it doesn't change a thing.[/QUOTE] [QUOTE=Sweepyoface;48821135]The default DarkRP code isn't drawing anything. It's in the core files, and fully updated.[/QUOTE] Maybe you shouldn't edit core files and not be so mean?
??? When did I ever say I edited core files, I did not. Hence the [I][B]"default darkrp code"[/B][/I]
Still need help with this.
[QUOTE=Sweepyoface;48852368]Still need help with this.[/QUOTE] The default DarkRP code works fine for other people. It's very likely one of your other addons conflicting with it.
[QUOTE=roastchicken;48853479]The default DarkRP code works fine for other people. It's very likely one of your other addons conflicting with it.[/QUOTE] That doesn't make any sense.
[QUOTE=Sweepyoface;48853635]That doesn't make any sense.[/QUOTE] Care to explain why?
[QUOTE=roastchicken;48853938]Care to explain why?[/QUOTE] Because none of my addons would do that.
[QUOTE=Sweepyoface;48853979]Because none of my addons would do that.[/QUOTE] So just to clarify, a clean install of DarkRP (nothing in darkrpmodification) doesn't display the lockdown text when you type /lockdown?
[QUOTE=roastchicken;48854060]So just to clarify, a clean install of DarkRP (nothing in darkrpmodification) doesn't display the lockdown text when you type /lockdown?[/QUOTE] Correct. Except for the HUD in darkrpmodification, which I've had 3 different ones, same problem. (and weapons/entities but they dont matter)
Anyone?
If your clean version of DarkRP doesn't display the lockdown text correctly, another one of your addons is overriding it. Since you think that "none of your addons would do that" then I guess you pissed off the magical server fairies.
Did you see the screenshot? How would any of those mess with it..?
[QUOTE=Sweepyoface;48869131]Did you see the screenshot? How would any of those mess with it..?[/QUOTE] I have no idea, I'm not going to go look up each of your addons and figure out exactly what they do and why they might be overriding it.
Sorry, you need to Log In to post a reply to this thread.