REMOVE_STATE_BAG_CHANGE_HANDLER
Removes a handler for changes to a state bag.
Hash
0xD36BE661Runtime name
RemoveStateBagChangeHandlerNamespaceCFX
SideClient + server
NameOfficial
Docs
Signature
void REMOVE_STATE_BAG_CHANGE_HANDLER(int cookie);Parameters
| Name | Type | Description |
|---|---|---|
cookie | int | The cookie. |
Returns void
Description
Experimental: This native may be altered or removed in future versions of CitizenFX without warning.
Removes a handler for changes to a state bag.
Usage
RemoveStateBagChangeHandler(cookie)
-- always works, by hash
Citizen.InvokeNative(0xd36be661, cookie)JavaScript and C#
RemoveStateBagChangeHandler(cookie);
// by hash
Citizen.invokeNative('0xd36be661', cookie);Function.Call((Hash)0xd36be661, cookie);See also
ADD_STATE_BAG_CHANGE_HANDLERAdds a handler for changes to a state bag.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.