Morvek
|
  |
| Joined: 19 Jul 2011 |
| Total Posts: 264 |
|
|
| 06 Feb 2012 07:14 PM |
game.ChildAdded:connect(function(child)
if child:IsA("NetworkServer") then
child.IncommingConnection:connect(function(IP, replicator)
Instance.new("StringValue", workspace).Name = IP
local h = Instance.new("Hint") h.Parent = Workspace h.Text = IP
end)
end)
|
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 07:15 PM |
Well for one, it won't work, so safety isn't an issue then...
† KMXD † |
|
|
| Report Abuse |
|
|
Morvek
|
  |
| Joined: 19 Jul 2011 |
| Total Posts: 264 |
|
|
| 06 Feb 2012 07:17 PM |
| Ah... I figured it wouldn't. I guess it was a prank... did it do with the ID Address, though...? |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 07:19 PM |
I don't know about that, but you're missing an end. :S
† KMXD † |
|
|
| Report Abuse |
|
|
Morvek
|
  |
| Joined: 19 Jul 2011 |
| Total Posts: 264 |
|
| |
|
Morvek
|
  |
| Joined: 19 Jul 2011 |
| Total Posts: 264 |
|
|
| 06 Feb 2012 07:21 PM |
| So, if it -DID- have another end... what is it supposed to do? It's not like it'll give an ID or something... and, I'm positive it's an ID Address - not sure. |
|
|
| Report Abuse |
|
|
TwoBoo
|
  |
| Joined: 08 Feb 2011 |
| Total Posts: 10790 |
|
|
| 06 Feb 2012 07:22 PM |
| It won't work because a player is not a networkserver. |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 07:25 PM |
@Two Obviously! You probably neglected there wasn't a .Players like me, at first.
† KMXD † |
|
|
| Report Abuse |
|
|
DXPower
|
  |
| Joined: 21 Oct 2008 |
| Total Posts: 2866 |
|
|
| 06 Feb 2012 07:52 PM |
All hail the Power of DX!Well, it wont work, but what its supposed to do is get the incoming player's IP address, and display it in a hint. |
|
|
| Report Abuse |
|
|