|
| 01 Apr 2014 03:26 PM |
| If you call a global datastore function in a localscript, would it work? |
|
|
| Report Abuse |
|
|
Jonibus
|
  |
| Joined: 30 Jan 2010 |
| Total Posts: 8985 |
|
|
| 01 Apr 2014 03:27 PM |
Pretty sure it needs to be a server sided script.
Follow me on twitter: @Jonibus_RBX |
|
|
| Report Abuse |
|
|
Ocellus
|
  |
| Joined: 11 Sep 2012 |
| Total Posts: 1043 |
|
| |
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 01 Apr 2014 03:27 PM |
I think, perhaps.. The data stored by the localscript would not be accessible by other players of course.
I haven't experimented with it, so don't take my word for it. |
|
|
| Report Abuse |
|
|
|
| 01 Apr 2014 03:31 PM |
| It just seems like a hacky method is needed to save data from purchase guis running a localscript |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 01 Apr 2014 03:42 PM |
| You trigger a global function? |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 01 Apr 2014 03:43 PM |
| I should have said call instead of trigger. |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 01 Apr 2014 03:57 PM |
| Whenever I need to do LocalScript/ServerSide script access, I just replicate info to a StringValue or something and then Use ChildAdded... |
|
|
| Report Abuse |
|
|
|
| 01 Apr 2014 04:32 PM |
| What about bindable functions? |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 01 Apr 2014 04:42 PM |
| I was going to say that. Because I am pretty sure there is an OnClientInvoke event |
|
|
| Report Abuse |
|
|