Sheriff searching player inventory



  • Would you share the code for the widget that the guards/ sheriffs use that allows them to see a players inventory?

    If not willing to post it here could you send it via email to bator_andrew@hotmail.com



  • While we do not share most of our scripts, this one is fairly easy to implement. Have an item script created attached to a proper item and use the idea of:ject

    object oItem = GetFirstItemInInventory(oTarget);
    ...
    while (GetIsObjectValid(oItem))
    {
        SendMessageToPC(oUser, GetName(oItem));
        oItem = GetNextItemInInventory(oTarget);
    }
    ...
    
    

    Cheers


Log in to reply