Jump to content
  • 0

Item to storage


Question

Posted (edited)

Hello,

 

i want to put an item of a player from his inventory into his storage using a npc script. When i use delitem and then query_sql update..., the player has to relog for the items to show up (if he opens his storage before relog, the updated items vanish from storage db). Is there any comfortable solution for this? Like a counterpart of storagedelitem? Or an option to refresh the players storage without relogging the char?

 

I guess that kafra storage is somehow writing into the db AND the memory of the server? Can i access this "memory" live via script maybe? Hope someone knows what i mean /panic

 

EDIT: i finally found a solution. Had to use a source mod for an extra script command: storeitem. Thanks to all who thought about this :)

Edited by moik

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

Thanks mate, but i want to put certain items in storage. Found a solution as stated in top post /ok

Edited by moik

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...