13 lines
327 B
Plaintext
13 lines
327 B
Plaintext
void main()
|
|
{
|
|
object oPC=GetLastUsedBy();
|
|
object oMe=OBJECT_SELF;
|
|
object oArea=GetArea(oMe);
|
|
string sMyID=GetLocalString(oArea,"sTeamID");
|
|
string sID=GetLocalString(oPC,"sTeamID");
|
|
if (sMyID==sID)
|
|
{ // same team
|
|
SetLocalInt(GetModule(),"bHasLookedInTaxChest"+sID,TRUE);
|
|
} // same team
|
|
}
|