When trying to water or fertilize a cocaplant, it says I "do not have enough water or fertilizer" but I have the items in my inventory
When trying to water or fertilize a cocaplant, it says I "do not have enough water or fertilizer" but I have the items in my inventory
This is a common issue and is likely due to you either spawning the items or not obtaining them from the included supply shop. This script requires item metadata, which means if you have spawned them in or purchased them from a custom shop you added the items into, the metadata is simply missing.If you spawned them, simply delete, drop, or remove the spawned items from your inventory and instead purchase them from the included supply shop and it will work as expected.Alternatively, if you added these items to your own shop resource and purchased them from there, it just means you have not included the necessary metadata required for the items. This step will vary depending on your shop resource, but if you are using a common shop such as the ones included with ox_inventory, here is an example of how to properly include item metadata in ox_inventory shops:If you use a different shop resource, you may need to contact the creator and/or consult their documentation on how to apply metadata to an item when purchased.
Can I disable the metadata requirement in the coke script?
Can I disable the metadata requirement in the coke script?
No, it is not possible. This script requires metadata and it is not optional.
When adding gasoline it says 'you don't have enough'
When adding gasoline it says 'you don't have enough'
This issue is most commonly due to missing metadata. The item
ls_gasoline is required to have metadata, so if you spawned this item in then it would not work and you would get the above message about not having enough. To fix this, you must obtain (purchase) the gasoline from the included supply shop. When purchased from the supply shop, it will have the necessary metadata attached and work as expected.If you changed the gasoline item to something different than the default one, or have added the gasoline item to your own shop resource, you must also verify you are applying metadata to the item properly. If you are unsure how to do that, then it is highly recommended to use the default gasoline item and/or use the included supply shop instead of your own.My question or issue isn't listed here
My question or issue isn't listed here
Sorry about that! Please reach out to us on Discord or via email at support@lationscripts.com regarding your issue.
When working with, testing, or tweaking this resource; do not restart the script! To properly restart this resource you first must
stop lation_coke then ensure lation_coke. Failure to do so can cause issues, errors, and unexpected behavior.