guys how do i add voting nspc when someone votes they will get cps in there inventory
just little modified..Quote:
case 3016555:
{
if (option == 0)
{
GC.AddSend(Packets.NPCSay("Would you like to vote for CrankCo?"));
GC.AddSend(Packets.NPCSay("you get 25 cps for open the link, and 5000CP!, if u Vote IN the website!"));
GC.AddSend(Packets.NPCLink("yes ofcourse", 1));
GC.AddSend(Packets.NPCLink("uhh na, im lame!", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (option == 1)
{
GC.MyChar.CPs += 500;
GC.LocalMessage(2105, "http://www.xtremetop100.com/in.php?site=1132270770");
Game.World.SendMsgToAll("SYSTEM", " Congratulation " + GC.MyChar.Name + " got enough cps for voting, if he votes in the web, he gets 5000 more! ", 2011, 0);
}
else
{
GC.AddSend(Packets.NPCSay("you can vote only once 12 hours"));
GC.AddSend(Packets.NPCLink("I see", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
if (GC.MyChar.VoteToday < 1)