Please help. Need to perform a team check, so that people on team red have red shields, and people on team blue have blue shields. Something along the line of
if (injured.PlayerReplicationInfo.GetHumanReadableName()=="Red")
or
if (injured.PlayerReplicationInfo.TeamID==1)
which I just can't seem to get to work or find done somewhere else to rip from...
if (injured.PlayerReplicationInfo.GetHumanReadableName()=="Red")
or
if (injured.PlayerReplicationInfo.TeamID==1)
which I just can't seem to get to work or find done somewhere else to rip from...