//:://///////////////////////////////////////////// //:: FileName take_bodaktooth //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: NW_IT_MSMLMISC06 = Bodak Tooth //:: Created By: Script Wizard //:: Created On: 9/01/2004 12:26:05 AM //::////////////////////////////////////////////// void main() { object oPC = GetPCSpeaker(); object oItemToTake; /// check if item is present in inventory if (GetItemPossessedBy(oPC, "NW_IT_MSMLMISC06")!= OBJECT_INVALID) { // Remove items from the player's inventory oItemToTake = GetItemPossessedBy(oPC, "NW_IT_MSMLMISC06"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); // Identify PC as having paid SetLocalInt(oPC, "nPaid", 1); } }