![]() |
Gui Profiles.
I can get a gui profile to work! I searched on the forums and found all of these profile things but, none work!
It says Error: Line 8 in script "-GProfiles", unknown function addcontrol It is first in weapon order, and it says on line 8 new GuiButtonProfile("Test") { Help please!! :p |
It needs to be clientside. Make sure there's no spaces after the //#CLIENTSIDE line.
|
Use:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
Still wont work |
Quote:
|
After it is created the first time, and you didnt properly destroy() the window, it will not reload.
Just add this on clientside: PHP Code:
|
Quote:
Also you shouldn't destroy the window in onCreated, especially without checking if it even exists. Just set visible = true explicitly when you create a new control if you're worried it may have been closed earlier (or just check if it exists and show it if so, depends on the situation, but you should never just blindly destroy it). |
Way to bump a two year old post?
|
| All times are GMT +2. The time now is 12:01 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.