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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Can somebody help?

Previous Thread :: Next Thread 
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 08:59 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:00 AM
You never define adminzz...

I love making dooly-bops. ~ArceusInator
Report Abuse
Fl0x is not online. Fl0x
Joined: 06 Aug 2010
Total Posts: 5169
20 Aug 2011 09:01 AM
@aboy
function adminz(adminzz)

adminzz is a placeholder parameter in the function.
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:02 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:03 AM
His function is never called, so the argument adminzz is never defined. K?

I love making dooly-bops. ~ArceusInator
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:05 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:05 AM
I just stated your issue. You never call the function with the argument adminzz...

I love making dooly-bops. ~ArceusInator
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:06 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:07 AM
function Name(arg)
return arg
end


blah = 1

print(Name(blah))
a = Name(blah)

etc...

I love making dooly-bops. ~ArceusInator
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:09 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:11 AM
adminz(WHATEVER YOU WANT THE ARGUMENT NAMED ADMINZZ TO BE)

I love making dooly-bops. ~ArceusInator
Report Abuse
dylanbuider is not online. dylanbuider
Joined: 14 Jun 2008
Total Posts: 17141
20 Aug 2011 09:12 AM
You made this script so wrong..sorry.... :/
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:14 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:17 AM
adminzz is never defined though... And normally you wanna make it return something when calling a function.

I love making dooly-bops. ~ArceusInator
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:19 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:21 AM
Erm... It's kinda hard to explain it all... I'll use an example

function MyFunction(argument)
return argument
end

a = "Hello, world!"
b = MyFunction(a)

print(b)

That would print in the output "Hello, world!" See it??

I love making dooly-bops. ~ArceusInator
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:27 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:28 AM
But now you've redefined admin and admin is no longer the table.

I love making dooly-bops. ~ArceusInator
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:29 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:30 AM
You originally had admin = {"Name", "Name", etc...}
But then you changed it when you named the argument in your function admin. See??

I love making dooly-bops. ~ArceusInator
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:31 AM
[ Content Deleted ]
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
20 Aug 2011 09:33 AM
You're not really returning anything though except the table of names... You have to make it useful at least...

I love making dooly-bops. ~ArceusInator
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
20 Aug 2011 09:36 AM
[ Content Deleted ]
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