Solved Help(functions).

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

FUZIK

Active Member
Jan 26, 2017
115
10
18
23
Санкт-Петербург
github.com
There are two functions: start and startWait.

code_language.skript:
function startWait(0:int=0):
    broadcast "startWait"
    start(0)

function start(0:int=0)
    broadcast "start"
    startWait(0)

The function "startWait" does not see the function "start'. how to solve such a problem.
 
There are two functions: start and startWait.

code_language.skript:
function startWait(0:int=0):
    broadcast "startWait"
    start(0)

function start(0:int=0)
    broadcast "start"
    startWait(0)

The function "startWait" does not see the function "start'. how to solve such a problem.
This is not possible to create as you have to load a function before you call it. Try something else like
Code:
wait 3 seconds
 
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.
 
Status
Not open for further replies.