{"hash":"0xACA45DDCEF6071C4","ns":"PLAYER","name":"_SET_PLAYER_CAN_PICKUP_HAT","slug":"_SET_PLAYER_CAN_PICKUP_HAT","official":false,"named":true,"luaName":"SetPlayerCanPickupHat","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"player","type":"Player"},{"name":"enable","type":"BOOL"}],"summary":"Enables or disables the \"Pick Up\" prompt for a hat on the ground for the specified player.","descriptions":[{"source":"alloc8or","format":"text","body":"Enables or disables the \"Pick Up\" prompt for a hat on the ground for the specified player. When set to true, the player will see a prompt to pick up the hat if they are near it.\nVideo: https://imgur.com/gallery/0xaca45ddcef6071c4-dzlnm8Z"},{"source":"vorp","format":"text","body":"Enables or disables the Pick Up prompt for a hat on the ground for the specified player. When set to true, the player will see a prompt to pick up the hat if they are near it."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_CAN_PICKUP_HAT","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_CAN_PICKUP_HAT.md","snippets":{"lua":"SetPlayerCanPickupHat(player, enable)","luaInvoke":"Citizen.InvokeNative(0xACA45DDCEF6071C4, player, enable)","js":"SetPlayerCanPickupHat(player, enable);","jsInvoke":"Citizen.invokeNative('0xACA45DDCEF6071C4', player, enable);","csharp":"Function.Call((Hash)0xACA45DDCEF6071C4, player, enable);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}