unlock_item(item_id)

Description

unlocks the item having (itemid)

Example

x=get_select_items()
maxx=table.maxn(x)
msgbox(maxx)
for inc1=1,maxx do
unlock_item(x[inc1])
end
this code snippet takes the selected items and unlocks them.

Related Rules

lock()