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 do you make a list?

Previous Thread :: Next Thread 
Penguine236 is not online. Penguine236
Joined: 13 Apr 2011
Total Posts: 1303
17 Oct 2011 05:53 PM
I want to make an admin door, and I've gotten most of the script right, except I don't know how to make a list of ppl I want the door to let in. I need something like where you type the names (e.g. {me, name, name, name})
and then it lets those ppl in. I can insert a SINGLE name and it works but I need to add a list.
Report Abuse
PsychoBob is not online. PsychoBob
Joined: 08 Jul 2009
Total Posts: 11047
17 Oct 2011 05:57 PM
http://wiki.roblox.com/index.php/Tables
Report Abuse
RenderSettings is not online. RenderSettings
Joined: 16 Aug 2010
Total Posts: 2560
17 Oct 2011 05:58 PM
Look up for loops and tables on the Wiki. It isn't as simple as changing Name="Blah" to Name={"Blah","Blahhhh"}
Report Abuse
Penguine236 is not online. Penguine236
Joined: 13 Apr 2011
Total Posts: 1303
23 Oct 2011 12:46 PM
I asumed it wasnt that simple. thx for the help.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
23 Oct 2011 12:50 PM
By using a table.
Report Abuse
Penguine236 is not online. Penguine236
Joined: 13 Apr 2011
Total Posts: 1303
08 Nov 2011 06:27 PM
@RenderSettings

I know how to make it now. And you were wrong. it is that simple. example:

*This could be a permission list*

permission={"name","name2","name3","name4"}

like that. and to return "name 3" you would put:

return[3]
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
08 Nov 2011 06:45 PM
"I asumed it wasnt that simple. thx for the help."

It's actually pretty simple.
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