Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
#Command args not being recognized correctly
1 messages · Page 1 of 1 (latest)
check if arg-3 is set
i am getting the else message for if arg-1 is an offline player
and when i remove it
i get the else message for if arg-3 is set
so didnt work
I don't see it
if arg-1 is set:
if arg-1 is an offlineplayer:
if arg-2 is set:
if arg-3 is set:
so that players with the lower ranks cant ban admins
I'm confused so members can use it?
no but lower team members cant ban higher ones
I see
only "inhaber" and "serverleitung" are permitted to ban any staff members
alr, but why checking if the arg-1 is offlineplayer? xd
the first arg is offlineplayer
if you check if arg-3 is set it should work
getting else message for if arg-3 is set
that's weird
basically it
bruh
BASICALLY arg-3 is not set
when you added the condition did you indent?
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
like that im gettin "d" in return to
yes
i thought i could puit the text after the time but that kind of destroys that if the time is not set you get a permaban
ima try
yea try idk if I'm wrong
k
it works when i ban myself ingame but not from console but i think the error is fixed
thx
you need to check if the executor is console