#World guard skript
1 messages · Page 1 of 1 (latest)
on region isn’t a syntax, it looks like you’re checking for ‘on death of a player’ and then checking the region
An if always ends with ‘:’, but that’s not a syntax, you have to specify where
I know but can you help me fix line (if there Are 2 players) Bc i dont kNow what can i replace it
Thanks
can someone help me please with line
if there are 2 player
didnt working
next error i here
12:28:19[INFO] Line 19: (duels.sk)
12:28:19[INFO] There's no region in an on death event
12:28:19[INFO] Line: if "%event-region%" contains "duels":
if "%region at player%" contains " . . . ":
read the error
HMM an error what does it say use attacker and/or victim what could this possibly mean!!! i gotta ask on the help discord and not at least read the docs
i know but i need to replace region at player to region at victim?
i know people are new, or need help with things but the first thing to do is either read the docs or do the obvious thing, skript is basic english so not thaaat hard
But can you help me please with this line?
if there are 2 players
wdym if there are 2 players?
room has gate and if there 2 players it will close after death it will open idk how can i explain it
but if you know polishbox.pl they have it
🤷♂️
if skript doesn't recognise it i can't do nothing
try looking if some addons have it
thanks for idea and your help 😄
is it a on death/damage event?
no on enter region
well you could had done if it was on damage/death if attacker and victim are in region i'm not sure cuz i never looked into regions
but his is work to on death: right?
that would only work on damage/death events
ohh so this isn't what I'm looking for
yeah no xD
loop all players and check if region at player is " . . . " and if it is add 1 to a variable and check if the variable >= 2
then clear it afterward
sorry im new im just learning can you writed for me please bro..................
We are not here to write code for you
i know but i dont know this syntax
i need inpiration how it works