Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I find the teamcolor from a player character?

Asked by 3 years ago
Edited 3 years ago

I'm making a shooter game and want to know how to find the Teamcolor from a player. I need to, so that I can avoid teamkills and add kills to the team count. I can't seem to find a teamcolor variable in the player character.

0
Player.Team & Player.Team.Color. Ziffixture 6913 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

You could do Player.Team in your code. Hope this helps!

0
I meant from a playercharacter. billybobRAE 41 — 3y
Ad

Answer this question