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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
What's the error?but is there a new syntax using skript 2.2? cause i'm getting error "can't compare a player (or something else)"
[doublepost=1582130057,1582130024][/doublepost]like:
on damage:
if damage cause is void:
cancel event
i'm getting this error
Try `if "%damage cause%" is "void"`"can't compare a damage cause with a types.art"
i used 3.6.1 (skquery)Which SkQuery version did you use for that?
can you make me an example please?Try `if "%damage cause%" is "void"`
Was that not good enough of an example already?i used 3.6.1 (skquery)
[doublepost=1582132122,1582132041][/doublepost]
can you make me an example please?
didn't understood
sry
on damage:
if "%damage cause%" is "void":
cancel event
No, it's a bug in SkQuery, but because you're using an older version of SkQuery (which you have too because you're on a older server version), it's not fixed for that version.oh it works, so in Skript 2.2 version it changes the syntax?
Only in this exact scenario, where you need to compare the damage cause with void.so i need to use this type of syntax?