Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-08-2009, 12:13 PM
[email protected] jamerson61894@yahoo.com is offline
Banned
Join Date: Jul 2008
Posts: 83
jamerson61894@yahoo.com is an unknown quantity at this point
Post 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
Reply With Quote
  #2  
Old 07-08-2009, 01:40 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:16 PM.


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