generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How would I access the items in this table?

Previous Thread :: Next Thread 
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 06:09 AM
_G.BaseText = {
["HELP"] = {"~HELP~",{"Who made this?","1WOOF1..."},{"What are the features","Currently there is no features."},{"Other","If you have any other questions, PM 1WOOF1"}}
}


I've tried:

_G.BaseText[1][4][1]

But it says

attempt to index field '?' (a nil value)

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 06:30 AM
Bump?

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
04 Nov 2011 06:32 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 06:33 AM
xD

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
04 Nov 2011 06:35 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 06:36 AM
Trioxide, that's not what my table is based like.
And I doubt it would work. ;/

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
04 Nov 2011 06:38 AM
[ Content Deleted ]
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
04 Nov 2011 06:41 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 06:41 AM
Tri, to fix yours it would be:

Table = {"You", "Do", "It","Like","This?"}

for i = 1,#Table do
print(Table[i])
wait(1)
end

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
04 Nov 2011 06:42 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 06:42 AM
Because [2] is not there.

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 07:04 AM
Bump.

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
04 Nov 2011 07:18 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 07:19 AM
@Ox,

Isn't that a spaced out version of mine...?

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
04 Nov 2011 07:20 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 07:22 AM
I see no difference.. :/

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
04 Nov 2011 07:23 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 07:29 AM
Hmm..
It worked...

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 07:35 AM
@Ox,

So why doesn't this work??

_G.BaseText = {
["HELP"] = {"~HELP~",{"Who made this?","1WOOF1..."},{"What are the features","Currently there is no features."},{"Other","If you have any other questions", "PM 1WOOF1"}}
["COMMANDS"] = {"~COMMANDS~",{"The commands","Currently there are none"},{"Special commands","Thinking of making some for high ranked people"},{"Other","If you have any command suggestions, PM 1WOOF1"}}
}

(Output:

Players.2WOOF2.PlayerGui.ScreenGui.Frame.Script:3: '}' expected (to close '{' at line 1) near '['

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
04 Nov 2011 07:36 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 07:37 AM
But mine doesn't work. >.>

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
04 Nov 2011 07:38 AM
[ Content Deleted ]
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
04 Nov 2011 07:41 AM
Thanks. xD

¤שׂøøŦ¤ The Rich Zombie ¤
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
04 Nov 2011 08:17 AM
Uhh 2Woof2 Didn't you use to be like really rich? because know you're like a noob..
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
04 Nov 2011 08:18 AM
Ohh nvm.. Forget about that post..
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image