DELETE_RESOURCE_KVP
Signature
void DELETE_RESOURCE_KVP(char* key);Parameters
| Name | Type | Description |
|---|---|---|
key | char* | The key to delete |
Returns void
Usage
DeleteResourceKvp(key)
-- always works, by hash
Citizen.InvokeNative(0x7389b5df, key)JavaScript and C#
DeleteResourceKvp(key);
// by hash
Citizen.invokeNative('0x7389b5df', key);Function.Call((Hash)0x7389b5df, key);Examples
DeleteResourceKvp('liberty_city')See also
SET_RESOURCE_KVPA setter for GET_RESOURCE_KVP_STRING.FLUSH_RESOURCE_KVPNonsynchronous operations will not wait for a disk/filesystem flush before returning from a write or delete call.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.