Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local result = dbPoll(qh, 0, true)[2][1][1]
- if result then
- addItemEx(sourceElement, result.dbID, result.slot, result.itemId, result.amount, result.data1, result.data2, result.data3)
- triggerItemEvent(sourceElement, "addItem", getElementType(sourceElement), result)
- end
- end
- end, {sourceElement}, connection, "INSERT INTO items (itemId, slot, amount, data1, data2, data3, ownerType, ownerId) VALUES (?,?,?,?,?,?,?,?); SELECT * FROM items ORDER BY dbID desc LIMIT 1", itemId, slotId, amount, data1, data2, data3, ownerType, ownerId
Advertisement
Add Comment
Please, Sign In to add comment