GetResourceKvpInt
Docslocal retval = GetResourceKvpInt(key)Description
A getter for SET_RESOURCE_KVP_INT.
Parameters
| Name | Type | Description |
|---|---|---|
key | char* | The key to fetch |
Returns
intReturns an integer value.
Examples
Official
local kvpValue = GetResourceKvpInt('bananabread')
if kvpValue ~= 0 then
-- do something!
end