Files
HeroesStone_PRC8/_module/nss/dm_sm_setsim.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

37 lines
849 B
Plaintext

void main()
{
int iConvChoice = GetLocalInt(OBJECT_SELF, "iConvChoice");
object oWidget = GetLocalObject(OBJECT_SELF, "DM_SM_oWidget");
switch (iConvChoice)
{ case 1:
SetLocalInt(oWidget, "iSimUses", 1);
SetCustomToken(11032, "1");
break;
case 2:
SetLocalInt(oWidget, "iSimUses", 2);
SetCustomToken(11032, "2");
break;
case 3:
SetLocalInt(oWidget, "iSimUses", 3);
SetCustomToken(11032, "3");
break;
case 4:
SetLocalInt(oWidget, "iSimUses", 4);
SetCustomToken(11032, "4");
break;
case 5:
SetLocalInt(oWidget, "iSimUses", 5);
SetCustomToken(11032, "5");
break;
case 6:
SetLocalInt(oWidget, "iSimUses", -1);
SetCustomToken(11032, "Unlimited");
break;
default:
break;
}
}