What is the difference between these 2 below?: Explain it for me thanks
for i,v in pairs(game.Players:GetPlayers()) do
end
for _, v in pairs(game.Players:GetPlayers()) do
end
What is the difference between these 2 below?: Explain it for me thanks
for i,v in pairs(game.Players:GetPlayers()) do
end
for _, v in pairs(game.Players:GetPlayers()) do
end
There is no difference, you may name the index and value variables whatever you wish.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
About
_, the underscore: https://scriptinghelpers.org/questions/7815/what-does-a-blank-meanTHanks.
Accept my answer an we both get points, just so you know :)