Aantioch_Infernum/_module/nss/asg_resdesk_03.nss

9 lines
325 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
void main()
{
int iCurListPoint = GetLocalInt(OBJECT_SELF,"ASG_MIC_CURRENTLISTPOINT");
iCurListPoint=iCurListPoint-1;
int iMaxArray = GetLocalInt(OBJECT_SELF,"ASG_MIC_TOTALLIST");
if (iCurListPoint>iMaxArray) iCurListPoint = iMaxArray;
SetLocalInt(OBJECT_SELF,"ASG_MIC_CURRENTLISTPOINT",iCurListPoint);
}