Open DevilishDante opened 5 years ago
Does the line work outside of a function?
Does the line work outside of a function?
hello, yes work perfectly
PS: sorry if my english isn't perfect i'm french and i don't speak english every day u.u
Try using skript-mirror instead of using functions. Skript functions don't really play nicely with asynchronous effects.
skript-mirror??
Yes, the documentation for custom effects is here. Try using that instead of using a function.
hmm ok it seems a litle bit hard to learn this but i try :s
Hey. Is there an update on this? Maybe make a config "sql in functions", because some people have hundreds of functions that have to be changed.
Hey. Is there an update on this? Maybe make a config "sql in functions", because some people have hundreds of functions that have to be changed.
This is simply not possible since Skript does not support this. Your only option is to use something that does support async effects, like custom effects.
Skript does not support what? If you could make it an config option, some people could have lots of time saved. Not everyone can change hundreds of functions to custom effects
Skript does not support what? If you could make it an config option, some people could have lots of time saved. Not everyone can change hundreds of functions to custom effects
Functions are not allowed to contain waits. SQL effects behave as waits so that they do not freeze your server while the request is being executed.
If this is a feature that you need, a fix has to be made on Skript's side, not skript-db's.
hello, i cannot use skript-db in function in deed when i try this
Without sql line work perfectly but with it skript do nothing , literaly nothing, i don't have any error in console or when i reload thanks for reading me