SET_LOCAL_PLAYER_PERMITTED_TO_COLLECT_PICKUPS_WITH_MODEL
Maximum amount of pickup models that can be disallowed is 10.
Hash
0x88EAEC617CD26926Runtime name
SetLocalPlayerPermittedToCollectPickupsWithModelNamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x88EAEC617CD26926Signature
void SET_LOCAL_PLAYER_PERMITTED_TO_COLLECT_PICKUPS_WITH_MODEL(Hash modelHash, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
modelHash | Hash | — |
toggle | BOOL | — |
Returns void
Description
Maximum amount of pickup models that can be disallowed is 10.
Old name: _SET_LOCAL_PLAYER_CAN_USE_PICKUPS_WITH_THIS_MODEL
Usage
SetLocalPlayerPermittedToCollectPickupsWithModel(modelHash, toggle)
-- always works, by hash
Citizen.InvokeNative(0x88EAEC617CD26926, modelHash, toggle)JavaScript and C#
SetLocalPlayerPermittedToCollectPickupsWithModel(modelHash, toggle);
// by hash
Citizen.invokeNative('0x88EAEC617CD26926', modelHash, toggle);Function.Call((Hash)0x88EAEC617CD26926, modelHash, toggle);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.