Jump to content

Logan23

RoR Staff
  • Posts

    220
  • Joined

  • Last visited

  • Days Won

    39

Logan23 last won the day on July 1 2025

Logan23 had the most liked content!

About Logan23

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Logan23's Achievements

Scout

Scout (1/15)

  • Well Followed Rare

Recent Badges

230

Reputation

Single Status Update

See all updates by Logan23

  1. void main(){

     

    //Edit oPC as you will. I don't know who you're taking items from.

     

    object oPC = GetFirstPC();

    object oInvent = GetFirstObjectInInventory(oPC);

     

     

    //Your general While Loop which takes away items

    while(oInvent != OBJECT_INVALID){

     

    //The important part of this loop is that it will only delete items that are NOT datapads.

    //This can be edited to include more items but I don't know which you want to exclude

     

    if(GetBaseItemType(object oItem) != BASE_ITEM_DATA_PAD){

     

    DestroyObject(oInvent);

     

    }

     

    oInvent = GetNextObjectInInventory(oPC);

     

    }

     

    }

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.