lock_item(item_id)
Description
locks the item having (itemid)
Example
x=get_select_items()
maxx=table.maxn(x)
msgbox(maxx)
for inc1=1,maxx do
lock_item(x[inc1])
end
this code snippet takes the selected items and locks them
Related Rules
unlock()