HoS_PRC8/_mod/_module/nss/cg_findenemies.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

20 lines
452 B
Plaintext

void main()
{
string sMsg="";
object oMe=GetPCSpeaker();
string sID=GetLocalString(oMe,"sTeamID");
object oPC=GetFirstPC();
while(oPC!=OBJECT_INVALID)
{ // !OI
if (oPC!=oMe)
{ // not me
if (GetLocalString(oPC,"sTeamID")!=sID)
{ // report
sMsg=GetName(oPC)+" is in area "+GetName(GetArea(oPC))+",";
} // report
} // not me
oPC=GetNextPC();
} // !OI
SetCustomToken(90001,sMsg);
}