Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   level question (https://forums.graalonline.com/forums/showthread.php?t=86763)

[email protected] 07-08-2009 12:13 PM

level question
 
Hey guys. I have a couple GUIs I use for my server and for some reason, when I reconnect, when it connects me back to the server, they pop up on login. How Can I stop this? I already tried :

PHP Code:

function onPlayerLogin()
{
MyGUI_Window1.visible false;



It didnt work though.

How could I get this to stop popping up on login?

thanks, jamerson

Twinny 07-08-2009 01:40 PM

My guess is that you created the GUIs in the 'function onCreated()' event with a weapon. Check where the guis are scripted and if they are in this event, move them to another event and add a manual call to this (chat command, onWeaponFired() etc).

Otherwise, something may be calling another function to draw them in some other onCreated event...


All times are GMT +2. The time now is 06:54 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.