Okay, I'm working on a NPC that sells VIP previlegies for a determinated period of time. How can I do it ... I've got this so far..
All I really want to know is how to make the VIP last only 10 days or 30 ...
Code:
case 16:
{
dialog.Text("I can sell you VIP privilegies aswell for VotePoints. Which VIP level you want?");
dialog.Option("VIP1 10 Days - 2 Points", 30);
dialog.Option("VIP1 30 Days - 5 Points", 31);
dialog.Option("VIP3 10 Days - 7 Points", 32);
dialog.Option("VIP3 30 Days - 18 Points", 33);
dialog.Option("Nevermind", 255);
dialog.Avatar(114);
dialog.Send();
break;
}
case 30:
{
if (client.Entity.VotsPoints >= 2)
{
client.Entity.VotsPoints -= 2;
client.Entity.VIPLevel = 1;