Solved Error in Function

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

    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.

FabricioSouza

Well-Known Member
Mar 15, 2018
267
3
0
Hello, I am FabricioSouza and I am doing a SKRIPT of Construction Tools. I am using Tuske to create guis and others now my problem is in function, when I type the command / sk reload BuildingTools it give an error saying in console: [17:26:47 ERROR]: The function 'B' does not exist (BuildingTools.sk, line 8: B (p
layer, "main-menu") '), HOW CAN I SOLVE THIS PROBLEM.
 
A function needs to be above a call-function.
Your skript probally looks like this now:
Call-function
Function
It needs to be like this:
Function
Call-function
 
[QUOTE = "DieHollander_, post: 27967, member: 6210"] Uma função precisa estar acima de uma função de chamada.
Seu skript provavelmente se parece com isso agora:
Função de chamada
Função
Precisa ser assim:
Função
Função de chamada [/ QUOTE]
Uau, eu não sabia disso.
 
Status
Not open for further replies.