GetExternalKvpString
Docslocal retval = GetExternalKvpString(resource, key)Description
A getter for SET_RESOURCE_KVP, but for a specified resource.
Parameters
| Name | Type | Description |
|---|---|---|
resource | char* | The resource to fetch from. |
key | char* | The key to fetch |
Returns
char*Examples
Official
local kvpValue = GetExternalKvpString('food', 'codfish')
if kvpValue then
-- do something!
end