Skip to content

function useItemToStateQueued (client-side)

Available since version: 0.3.9.0

This function pushes use/interact/open item action in specific state on player/npc action queue.

Declaration

void useItemToStateQueued(int id, Item item, int state)

Parameters

  • int id: the player id.
  • Item item: the item object. For more information see Item class.
  • int state: the state that you'll start from interacting with item.