Initial Upload
Initial Upload
This commit is contained in:
20
_module/nss/kpb_loan_chkmed.nss
Normal file
20
_module/nss/kpb_loan_chkmed.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int nLoan = GetCampaignInt("kpb_bank", "KPB_LOAN_AMT", oPC);
|
||||
int nCredit = GetCampaignInt("kpb_bank", "KPB_CREDIT_AMT", oPC);
|
||||
|
||||
if (nLoan >= 1)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
if (nCredit <= 100)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user