#?
1 messages · Page 1 of 1 (latest)
make the GUI, do the conditions, set a variable or metadata or something that is checked when the player uses chat, send that to all players with the permission that you want
can u give me example code for that to learn it cuz i have no idea abt that
do you know basic skript?
so you know how to make a GUI and check the clicked slot?
@rough crescent can u help me fix this
yeah
oh at line 2 i fixed it can u help me to fix line 1
14*
should i send code
ok
safe to say you dont know "few basic things"
@rough crescent bro my code only sends text message to victim
i want to send to victim and attacker too
what even did you use?
also please check docs, read errors and look at tutorials
you're not gonna get anywhere like this
just help me fix this and were done
I'm helping you by telling you to learn basic skript
thanks but please just help me fix this
well I can tell you with 100% certainty that no one will be able to help you with the given information
^
wym
broo sorry
i get it
i fixed
it needed {} this things i guess
has no errors but doesnt sents message:(
you know when you ask for help it helps if you share your code
attacker is player
victim is player
combat(victim)
combat(attacker)
function combat(p: player):
if {combat.%{_p}%} is false:
set {combat.cooldown.%{_p}%} to 15
set {combat::%{_p}'s uuid%} to true
while {combat.cooldown.%{_p}%} is not 0:
remove 1 from {combat.cooldown.%{_p}%}
send action bar "&fCombat: &4%{combat.cooldown.%{_p}%}%" to {victim} and {attacker}
if {combat.cooldown.%{_p}%} is 0:
set {combat.%{_p}%} to false
wait 1 second
else:
set {combat.cooldown.%{_p}%} to 15
on quit:
if {combat.%player%} is true:
kill player
set {combat.%player%} to false
set {combat.cooldown.%player%} to 0
on death:
set {combat.%victim%} to false
set {combat.cooldown.%victim%} to 0
code looks wierd in dc
you never set the variables
that's a parameter
ok
did you even make this?
I'm not judging you if you did, it's just that it feels out of place
i watched yt tutorial
yoo its fixed
This video is made in 1.19.2 (Oct 2022)
Hello! Today I made a Combat log skript! Every pvp server should have this.
💙Follow me on twitter ➤ https://twitter.com/FanStaaff
🧡Follow me on Instagram ➤ https://instagram.com/FanStaaff
💜Join my discord s...
i watched this
do you understand it tho?
yeah
also idk who made this but it kinda sucks
i just changed seconds to 21 from 15 and something is wrong with it
it counts from 21 to 0 in like 6 sec
i just changed it to 15 and its good
but i want it to be 21 xD
faan staff's tutorials are the ones I used when I first started skript. I can also say they do kinda suck
you really should be switching to list variables