#Does anyone know how to fix this
1 messages · Page 1 of 1 (latest)
mb i was looking at the wrong thing but still in the player list variable it says one person. When both should be in the list.
Do you know what List Get Element does?
does it run differently than I assumed?
Basically let’s say you have a list of numbers:
5
10
15
20
25
List Get Element with the index of 0 will give you the number 5, (aka the first thing in the list) list get element index 2 will get you the third thing in the list (15)
yeah thats what i thought it did, and thats how its set up.
Your index is static set to 0, it will never change what the result is unless you change the index value or remove the first thing from the list, or move its position in the list
well that’s weird is there something i can replace with the list get element, or a way to make it work?
What are you trying to do?
If you’re trying to run something for everything in the list, you can use For Each, although if you’re trying to run something for players I’d use events. You could also use a For circuit if you’re only trying to run for a threshold of items in the list
sorry didn’t see that earlier but to answer your question, im just trying to get the first two people in a list. So should i still try to use the circuits that you mentioned below?
You can use list get element for 0 and 1 which looks like you’ve already done,
see but then my problem still stands, It’s always running locally. For some reason and i dont know how fix it.
Is it because of what I’m using to add the players name to the list is the problem because I am using add list if not contains