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: Missing Argument

Previous Thread :: Next Thread 
MasterOfDeathOnes is not online. MasterOfDeathOnes
Joined: 21 Mar 2009
Total Posts: 6975
01 Sep 2011 09:08 AM
function SOn()
self:Activate()
toolbarbutton:SetActive(true)
on = true
end

Yes, everything is defined. It says that there is a missing argument on the line "toolbarbutton:SetActive(true)". What am I doing wrong?
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
01 Sep 2011 09:09 AM
Coz of trollblox update its now like :Activate(true)
Report Abuse
MasterOfDeathOnes is not online. MasterOfDeathOnes
Joined: 21 Mar 2009
Total Posts: 6975
01 Sep 2011 09:12 AM
I see... So that's why it suddenly stopped working.
I blame John.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
01 Sep 2011 09:12 AM
And one more ugly thing about plugin update.. We cant use roblox built in tools togheter with plugins. I ish mad >:U
I BLAME THE JOHN!
Report Abuse
MasterOfDeathOnes is not online. MasterOfDeathOnes
Joined: 21 Mar 2009
Total Posts: 6975
01 Sep 2011 09:19 AM
Would you mind fixing this part? I can't get it to work properly.

function SOn()
self:Activate()
toolbarbutton:Activate(true)
on = true
end

function SOff()
toolbarbutton:Activate(false)
on = false
end
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
01 Sep 2011 09:20 AM
function SOn()
self:Activate(true)
toolbarbutton:Activate(true)
on = true
end

function SOff()
toolbarbutton:Activate(false)
on = false
end
Report Abuse
MasterOfDeathOnes is not online. MasterOfDeathOnes
Joined: 21 Mar 2009
Total Posts: 6975
01 Sep 2011 09:24 AM
That won't work. ("Activate is not a valid member of Button")
Also, I should have given you this. Sorry!
self = PluginManager():CreatePlugin()
toolbarbutton = toolbar:CreateButton("", "Rd", "rd.png")
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
01 Sep 2011 10:51 AM
Because it is like toolbarbutton:SetActive(true)
Report Abuse
MasterOfDeathOnes is not online. MasterOfDeathOnes
Joined: 21 Mar 2009
Total Posts: 6975
01 Sep 2011 11:59 AM
That worked a few days ago, but this doesn't.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
01 Sep 2011 12:27 PM
The part what isnt working now is plugin:Activate(true)...
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