|
| 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
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 11047 |
|
|
| 17 Oct 2011 05:57 PM |
| http://wiki.roblox.com/index.php/Tables |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 23 Oct 2011 12:46 PM |
| I asumed it wasnt that simple. thx for the help. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
|
| 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
|
  |
| 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 |
|
|