Further on to this, while testing I noticed that the player would not get the item if there inventory was full but they had spare capacity. I've changed the script slighty to the below, it seems to do everything just fine, but there is an error on the console
luaPlayerAddItemEx(). Item already...