• Simple table problem.
    2 replies, posted
Hey! The output of my PrintTable( TABLENAME ) in my dedicated server console is: [CODE]1: Credits = 0 SteamID = STEAM_0:0_406XXXXX Rank = superadmin[/CODE] I just need to get the Rank information. KeyFromValue right? P.S. This is imported from a MYSQL server via MYSQLOO
You can access the values in the table by using the index operator, []. In your case you would do this: [lua]local rank = TABLENAME[1].Rank[/lua] or this (they are exactly the same) [lua]local rank = TABLENAME[1]["Rank"][/lua]
I love you!<3
Sorry, you need to Log In to post a reply to this thread.