Hello,
What case means?? and how do I know the exact number of case I should type?
For example, for Barber NPC, it's:
#region Barber
case 10002:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Would you like to change your hairstyle? I can offer you a change for 500 silvers. You can choose from the styles below."));
Why case here is (10002)??!! I thought the case number should be the NPC ID, please any help, so I can write the case for the NPC I add.
What case means?? and how do I know the exact number of case I should type?
For example, for Barber NPC, it's:
#region Barber
case 10002:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Would you like to change your hairstyle? I can offer you a change for 500 silvers. You can choose from the styles below."));
Why case here is (10002)??!! I thought the case number should be the NPC ID, please any help, so I can write the case for the NPC I add.