|
| 14 Sep 2014 01:05 PM |
-- Server Script muteSend.OnServerInvoke = function(player, isMuted) DataStore:SetAsync(player.userId, isMuted) end -- local script line 53 - function save() line 54 - song:Stop() song.Volume = 0 song:Destroy() line 55 - muteSend:InvokeServer(lPlr, isMuted) line 56 - end ----- isMuted isn't nil, and the functions connect fine, but it says isMuted can't be stored through the LocalScript's output. Line 55. |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Sep 2014 01:19 PM |
| Same problem but with a table |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Sep 2014 01:30 PM |
Mickey Mouse Bumpercars 1337 o.e |
|
|
| Report Abuse |
|
|
| |
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 14 Sep 2014 01:48 PM |
| muteSend:InvokeServer(isMuted) |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2014 01:52 PM |
Still isn't working. ServerScript line 6 - Argument 2 missing or nil |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2014 01:55 PM |
| This script is total donk :I |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Sep 2014 02:06 PM |
HEEELLPP D::: I've been working on this script forever, I just wanna be done with it!
|
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Sep 2014 02:14 PM |
dat regular bump I'm not letting this script die until I get an answer... |
|
|
| Report Abuse |
|
|
| |
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
| |
|
|
| 14 Sep 2014 03:36 PM |
| You don't need the full script. |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 14 Sep 2014 03:39 PM |
| Yes I do. You just don't know what you are doing. The player argument is automatically passed when invoking the server from a localscript. |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2014 03:41 PM |
Does player get passed through it correctly? -- in some instances you've messed up Do you have any global variables that should be in local scope? -- this may interfear with variables Song:Destroy() -- you don't need to change anything if youre getting rid of it |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2014 03:46 PM |
| I'm having errors with the server script, it's not getting the isMuted value, and I do have to change the song's properties, because they're very glitchy. |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 14 Sep 2014 03:49 PM |
| This is exactly where I need to know what isMuted is. |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2014 05:55 PM |
isMuted = false, gets changed to true @clientInvoke atm, in the future it will be changed to if the song's muted or not. |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Sep 2014 07:27 AM |
bump same problem
also are you trying to send a local data to server
Or other way around |
|
|
| Report Abuse |
|
|
| |
|