Quote:
case 47: //PrizeNPC
{
if (LinkBack == 0)
{
if (!Nano.NpcActive)
{
Text("Sorry, you can't A GoldCup.", CSocket);
Link("Damn it, WHY THE F**K NOT DANNY WTF!!", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
else
{
Text("Do you want to claim A Gold CUP? HUH DO YOU?", CSocket);
Link("Yes", 1, CSocket);
Link("No, thank you.", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
}
else if (LinkBack == 1)
{
AddItem(Gold Cup ID?, CSocket);
AddItem(Gold Cup ID?, CSocket);(This Line is not suppose to be here but if i do this and add another item, when a player clicks yes, will he get both items? or only 1 AddItem in the code?
}
break;
}
What this does - is when i
/prize on
npc will give out gold cup