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

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
}