![]() |
Help pls?
So i've never used GuiCtrls before, i've always just coded my guis by hand using custom images. But i'm actually trying them out, and oddly I can't seem to figure out why my gui images wont work. If someone could help, I would appreciate it.
So first I have a class set up named gladeious_guiprofiles, and within that is the code: HTML Code:
//#CLIENTSIDEBut here is the weapon code: HTML Code:
//#CLIENTSIDE |
Try joining the class serverside. If you join it clientside, the thread isn't halted to wait for the class to be joined.
PHP Code:
EDIT: Also, a couple other things I noticed: First, when you create profiles, you're setting variables in that profile, so you don't need to be setting the variables on the inexistent 'profile' object - it actually won't work this way. Instead, do this: PHP Code:
Secondly, profiles aren't strings, they're objects. Unfortunately, Gscript allows you to set profiles with quotes around them, but it's not proper syntax and Inverness will eat you alive. PHP Code:
|
Alright well, joining the class serverside wasn't part of the problem, it indeed was the defining of the profile object in the class. So that fixed the problem, thanks Chris. :) Btw i'll reference using PHP tags next time.. I was actually unsure when I was making the thread, I THOUGHT it was PHP but than suddenly something in my head told me to click HTML tags. -.o
|
| All times are GMT +2. The time now is 01:31 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.