|
| 26 Sep 2015 06:17 PM |
| If I have a local script in playergui can I read a stringvalue located in another player? |
|
|
| Report Abuse |
|
|
Stymi
|
  |
| Joined: 19 Sep 2015 |
| Total Posts: 1077 |
|
| |
|
|
| 26 Sep 2015 06:19 PM |
yes just read
if you change it it won't replicate |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2015 06:20 PM |
| rip mind joining my game? I just want to make sure it works fully with fe |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2015 06:21 PM |
| by "my game" I mean http://www.roblox.com/games/180092915/Trade-Hangout-Gui-Remake |
|
|
| Report Abuse |
|
|
ownedyou1
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 528 |
|
|
| 26 Sep 2015 06:22 PM |
| stringvalues are kindof bad if you are thinking about leaderstats id recommend using int values to code ur strings but if youre trying to have strings in a person i would recommend putting it in the char as it would delete i would make a model in the workspace then add an on newplayer function where when they join it adds a string value with their name being the player name and the value being the value you want to store/read and then to retrieve the value you can just do; local a = workspace.Data:findFirstChild(char.Name) |
|
|
| Report Abuse |
|
|
ownedyou1
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 528 |
|
|
| 26 Sep 2015 06:22 PM |
| would not recommend the char* |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2015 06:26 PM |
| it was not for leaderboard it was to hold a jsonencoded table |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2015 06:28 PM |
| and btw you dont need to join anymore someone else joined and it works with fe without any edits |
|
|
| Report Abuse |
|
|
Stymi
|
  |
| Joined: 19 Sep 2015 |
| Total Posts: 1077 |
|
|
| 26 Sep 2015 06:30 PM |
| ownedyou1 what are you even saying in that paragraph |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2015 08:34 PM |
this is sorta awnsered in this forum already
if I were to change the string value under my local player would it replicate? |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2015 08:57 PM |
Not unless you make it.
You would have to pass the change to the server using a RemoteEvent, and then pass the change again from the server to every other client. |
|
|
| Report Abuse |
|
|
|
| 26 Sep 2015 09:00 PM |
The only things FilteringEnabled changes: 1. The player's PlayerGui is not replicated to the server. 2. Most changes to the datamodel by the clients are not replicated to the server.
Since what you asked doesn't fall under either of those categories, it won't be affected by FilteringEnabled. |
|
|
| Report Abuse |
|
|