gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 07 Feb 2016 10:23 PM |
I have a GUI that doesn't work anymore. It invokes the server, but I'm getting this error:
i.i-m-g-u-r.c-o-m/cO67NCI.png "InvokeServer can only be called from the client"
But I am calling from the client... how awkward. Any help appreciated! I will post code in a second. It did work about 6 months ago.
Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes
Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2016 10:25 PM |
u sure its a localscript
https://www.youtube.com/watch?v=onhFH7jpq2c |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 07 Feb 2016 10:25 PM |
BuildRemFunc is a remote function.
Seems like this is the line giving the error:
function placeBuilding(b, cost) local bPos = b.Base.Position local bName = b.Name b.Parent = models.Temp local success = game.Workspace.buildRemFunc:InvokeServer(mode, bPos, bName, cost)
Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 07 Feb 2016 10:26 PM |
Yep it's definitely a localscript.
i.i-m-g-u-r.c-o-m/3nEYGTC.png
Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 07 Feb 2016 10:42 PM |
Still can't work it out /bumping
Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 07 Feb 2016 11:32 PM |
Unresolved, also posted on the scripting helpers website.
/bump
Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes |
|
|
| Report Abuse |
|
|
OzzyFin
|
  |
| Joined: 07 Jun 2011 |
| Total Posts: 3600 |
|
|
| 07 Feb 2016 11:43 PM |
have you installed any plugins lately which could use GetService on NetworkService? I had a similar problem where some simple function, which can only be called from client was called from client and it errored the same way. though my play solo didn't work either
this was about 1.5 years ago so I don't know if it's fixed or not, Seranok was the one answering me so he possibly could have got someone to fix it. |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2016 11:43 PM |
| No, you Need Not on Roblox. |
|
|
| Report Abuse |
|
|