Rairyu
|
  |
| Joined: 11 Apr 2011 |
| Total Posts: 815 |
|
|
| 07 Apr 2014 11:17 AM |
Could they both be related through the fact that they're both a member of Players?
|
|
|
| Report Abuse |
|
|
Rairyu
|
  |
| Joined: 11 Apr 2011 |
| Total Posts: 815 |
|
| |
|
| |
|
|
| 07 Apr 2014 07:09 PM |
What is character Team Color
i'm asian |
|
|
| Report Abuse |
|
|
Rairyu
|
  |
| Joined: 11 Apr 2011 |
| Total Posts: 815 |
|
|
| 07 Apr 2014 07:13 PM |
Oh forgive me let me rephrase that
GetPlayerFromCharacter() and the TeamColor property
As they are both connected to the Players property, could they be used in conjunction with each other? |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2014 07:15 PM |
| game.Players:GetPlayerFromCharacter(character object).TeamColor |
|
|
| Report Abuse |
|
|
Rairyu
|
  |
| Joined: 11 Apr 2011 |
| Total Posts: 815 |
|
|
| 07 Apr 2014 08:03 PM |
| ^Could you simplify that into English terms please? |
|
|
| Report Abuse |
|
|
|
| 07 Apr 2014 08:16 PM |
Let's say you have a character in Workspace.
Workspace.David
Okay, well how do you get that character's player?
game.Players:GetPlayerFromCharacter(Workspace.David)
Cool. Well, if you want to get a character's team color then...
team = game.Players:GetPlayerFromCharacter(Workspace.David).TeamColor |
|
|
| Report Abuse |
|
|
Ariophy
|
  |
| Joined: 08 Mar 2014 |
| Total Posts: 81 |
|
| |
|
Rairyu
|
  |
| Joined: 11 Apr 2011 |
| Total Posts: 815 |
|
| |
|
| |
|