HoS_PRC8/_mod/_module/nss/mai_c_s1ok.nss

13 lines
354 B
Plaintext
Raw Normal View History

2024-11-25 19:36:07 -05:00
int StartingConditional()
{
int nV;
object oPC=GetPCSpeaker();
object oMod=GetModule();
string sTID=GetLocalString(oPC,"sMAI_TID");
int nUR=GetLocalInt(oPC,"nMAI_UR");
string sS=GetLocalString(oPC,"sMAI_VAR");
nV=GetLocalInt(oMod,"n"+sTID+"_"+sS);
if (GetLocalInt(oPC,"nMAI_UR")<40&&nV>0) return TRUE;
return FALSE;
}