![]() |
GuiWindowProfile- problems
1 Attachment(s)
Why hello there!
So, I'm creating a weapon full of profiles, so that it can be used many of times from one weapon. However, when using this HTML Code:
//In the Profile weapon(Test 1 in the image below) However, when using HTML Code:
function onLoad() { |
I suggest removing the public function. Just put the profiles straight into the wnpc and add it to the player. Maybe that will fix it.
|
Quote:
|
This worked for me.. hope it can help.
PHP Code:
|
Weird, but it's worked. Thanks!
HTML Code:
new GuiWindowProfile("Profiletest) { |
Transparency should be 1, actually(since it's on a scale from 0-1), the fact that true worked is just because true = 1 :P
But yes, the problem before was you were using an opaque image with default transparency as well(since Graal ONLY does this with the interior of the window). Setting the transparency to 1 will disable Graal from making the image transparency and allow the image to do all the work. I believe though with opaque set to true, you don't even need to set the transparency since that disables it. |
| All times are GMT +2. The time now is 06:49 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.