5165 PenitenceAmulet Problem

02/11/2011 14:29 EternityViruz#1
ok, i have this code for the PenitenceAmulet:

#region PenitenceAmulet
case 723727:
{
if (PKPoints >= 30);
{
PKPoints -= 30;
RemoveItem(I);
}
break;
}
#endregion

when i have over 30pkp:(, it works, but if i/someone use it when they have under 30pkp, they reach over 60000 PKP :O
can someone help me fix that code?
Thanks :D
:confused:
02/11/2011 14:34 Syst3m_W1z4rd#2
Code:
#region PenitenceAmulet
case 723727:
{
if (PKPoints >= 30)
{
PKPoints -= 30;
RemoveItem(I);
}
break;
}
#endregion
Make sure there is no ; in the check
02/11/2011 14:56 EternityViruz#3
Quote:
Originally Posted by Syst3m_W1z4rd View Post
Code:
#region PenitenceAmulet
case 723727:
{
if (PKPoints >= 30)
{
PKPoints -= 30;
RemoveItem(I);
}
break;
}
#endregion
Make sure there is no ; in the check
so the code should be like this?:


#region PenitenceAmulet
case 723727:
{
if (PKPoints >= 30)
{
PKPoints -= 30;
RemoveItem(I);
}
break;
}
#endregion
02/11/2011 15:35 Syst3m_W1z4rd#4
Try use common sense and think.
02/11/2011 15:39 EternityViruz#5
Quote:
Originally Posted by Syst3m_W1z4rd View Post
Try use common sense and think.
aha... xD :D
ill try my best