Posted 28 February 2014 - 11:06 AM
Hi everyone, I need help because I really don't understand what is happening :
I'm writing a program with a list of players on the server, so I use table.
This program is called startup, when I launch it typing "startup" on a computer it work (return Asdramelesh 0), but if I reboot the computer he say that I attempt to index nil.
Can you help me please?
startup :
I'm writing a program with a list of players on the server, so I use table.
This program is called startup, when I launch it typing "startup" on a computer it work (return Asdramelesh 0), but if I reboot the computer he say that I attempt to index nil.
Can you help me please?
startup :
players = {asdra,yakoo,lous,leios,unike,minefuch,zeykoz,lazik,spekinoz,boson,lucky}
asdra = {["name"]="asdramelesh",["presence"]=0}
yakoo = {["name"]="yakoo29",["presence"]=0}
a = players[1]["name"]
b = players[1]["presence"]
print(a.." " .. B)/>
Edited on 28 February 2014 - 10:08 AM