Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
|
| 10 Apr 2017 02:32 PM |
Server script:
pcall(function() for _, V in pairs(Players:GetPlayers()) do if V~=Player then PartyListUpdate_Event:FireClient(V, Player) else PartyListUpdate_Event:FireClient(Player, V) end; end; end);
PartyListUpdate_Event.OnClientEvent:connect(function(SpecificPlayer) if SpecificPlayer~=nil then local NewPlayer=SavedLine:Clone(); NewPlayer.Text=SpecificPlayer.Name NewPlayer.Parent=PartyList Move() end; end);
This is only showing the client's name on the list and not other people. What am I doing wrong?
(Server script gets fired through a PlayerAdded event.) |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2017 02:33 PM |
Do you even know what fire client does?.
#code print(string.rep("Lit",5)) |
|
|
| Report Abuse |
|
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
| |
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
|
| 10 Apr 2017 02:49 PM |
| Forgot to mention the other part of coding is on the localscript, also. |
|
|
| Report Abuse |
|
|
devHoodie
|
  |
| Joined: 04 Nov 2008 |
| Total Posts: 30332 |
|
|
| 10 Apr 2017 02:49 PM |
Can I see "Move()"
r+://487783315r+://467523707r+://215869124 |
|
|
| Report Abuse |
|
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
|
| 10 Apr 2017 02:55 PM |
| It moves the TextLabels simply. |
|
|
| Report Abuse |
|
|
devHoodie
|
  |
| Joined: 04 Nov 2008 |
| Total Posts: 30332 |
|
|
| 10 Apr 2017 02:55 PM |
that could be the problem
cause i don't see anything wrong with the rest
r+://487783315r+://467523707r+://215869124 |
|
|
| Report Abuse |
|
|
devHoodie
|
  |
| Joined: 04 Nov 2008 |
| Total Posts: 30332 |
|
|
| 10 Apr 2017 02:56 PM |
| ###### from the use of all the semi colons especially since they're used in the wrong places r+://487783315r+://467523707r+://215869124 |
|
|
| Report Abuse |
|
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
|
| 10 Apr 2017 03:02 PM |
| No. Move() is being used correctly. And the semicolons are simply how my coding style looks. |
|
|
| Report Abuse |
|
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
| |
|