Author Topic: Need some help with scripts  (Read 1643 times)

Nicholas(RU)

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Need some help with scripts
« on: June 19, 2016, 02:41:05 pm »
Hello LU community. I need some help. I got a registration script with GUI windows.
If I try to autorize, my GUI window isnt close. But! If this script the only in my content.xml It works perfect. Need some advices.

I didnt use translator. Sorry.  ;D

Atheros

  • Newbie
  • *
  • Posts: 24
  • Karma: +4/-5
    • View Profile
Re: Need some help with scripts
« Reply #1 on: June 19, 2016, 04:07:01 pm »
use

YourGuiWindowName.Visible = false;

after registering/logging in.

Nicholas(RU)

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Need some help with scripts
« Reply #2 on: June 19, 2016, 05:26:15 pm »
use

YourGuiWindowName.Visible = false;

after registering/logging in.

I think you not understand me. Script works perfect it It only script on my server. When I activate another scripts in content.xml this script doesnt works correctly.

Vortrex

  • Full Member
  • ***
  • Posts: 267
  • Karma: +54/-73
    • View Profile
Re: Need some help with scripts
« Reply #3 on: June 20, 2016, 11:22:06 am »
I don't know what script you are using.

A couple of tips when dealing with client scripts:
Check to see if you are registering any remote functions via the server scripts.
Make sure you are calling the client function correctly, if you authorize the login from the server. You need to have a matching path to a loaded client script, or it won't work.

Can you post an output of any errors you are getting?

Nicholas(RU)

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Need some help with scripts
« Reply #4 on: June 22, 2016, 12:42:54 am »
The problem is solved. Topic can be closed. Thanks everybody.

SugarD

  • Argonath RPG Dev/Manager
  • Tester
  • Sr. Member
  • ****
  • Posts: 820
  • Karma: +37/-75
  • STOP IN THE NAME OF THE COLESLAW!
    • View Profile
    • Clan Xperience
Re: Need some help with scripts
« Reply #5 on: June 22, 2016, 03:33:05 pm »
Locked as per the original poster's request.

 

© Liberty Unleashed Team.