|
| 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
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 01 Sep 2011 09:09 AM |
| Coz of trollblox update its now like :Activate(true) |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2011 09:12 AM |
I see... So that's why it suddenly stopped working. I blame John. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 01 Sep 2011 10:51 AM |
| Because it is like toolbarbutton:SetActive(true) |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2011 11:59 AM |
| That worked a few days ago, but this doesn't. |
|
|
| Report Abuse |
|
|
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 |
|
|