Description: Params: p2 controls whether to make pickups usable/collectable or not in networked games
| Property | Value |
|---|---|
| Native Name | _SET_NETWORK_PICKUP_USABLE_FOR_PLAYER |
| Hash | 0x94F3D956BFAEAE18 |
| Return Type | void |
| Build | 1207 |
| Parameters | player (Player), pickupHash (Hash), isUsable (BOOL) |
Parameters
player(Player)pickupHash(Hash)isUsable(BOOL)
Usage
Lua (Direct):
SetNetworkPickupUsableForPlayer(player, pickupHash, isUsable)
Lua (Hash):
Citizen.InvokeNative(0x94F3D956BFAEAE18, player, pickupHash, isUsable)