1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Help(functions).

Discussion in 'Skript' started by FUZIK, May 13, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. FUZIK

    FUZIK Active Member

    Joined:
    Jan 26, 2017
    Messages:
    115
    Likes Received:
    10
    There are two functions: start and startWait.

    Code (Skript):
    1. function startWait(0:int=0):
    2.     broadcast "startWait"
    3.     start(0)
    4.  
    5. function start(0:int=0)
    6.     broadcast "start"
    7.     startWait(0)
    The function "startWait" does not see the function "start'. how to solve such a problem.

     
  2. Best Answer:
    Post #3 by ShaneBee, May 13, 2017
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    This is not possible to create as you have to load a function before you call it. Try something else like
    Code (Text):
    1.  
    2. wait 3 seconds
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Seems you're using an older version of Skript, because a function had to be written at first.
    Try to update your Skript and your problem solves itself.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...