Need help with increasing health core

Hi, I have recently started looking into the world of RedM and it is quite interesting, but I am having an issue with increasing cores, I’ve found that I’ve needed to use the InventoryAddItemWithGuid native but I am not entirely sure on how to use it, if there is an example on how to use it in LUA it would be great.

Thanks