SET_ROUTING_BUCKET_POPULATION_ENABLED
Sets whether or not the specified routing bucket has automatically-created population enabled.
Signature
void SET_ROUTING_BUCKET_POPULATION_ENABLED(int bucketId, BOOL mode);Parameters
| Name | Type | Description |
|---|---|---|
bucketId | int | The routing bucket ID to adjust. |
mode | BOOL |
|
Returns void
Description
Sets whether or not the specified routing bucket has automatically-created population enabled.
Usage
SetRoutingBucketPopulationEnabled(bucketId, mode)
-- always works, by hash
Citizen.InvokeNative(0xce51ac2c, bucketId, mode)JavaScript and C#
SetRoutingBucketPopulationEnabled(bucketId, mode);
// by hash
Citizen.invokeNative('0xce51ac2c', bucketId, mode);Function.Call((Hash)0xce51ac2c, bucketId, mode);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.