Pick It Back - Never lose your hat or glasses again!
Tired of losing your hat or glasses during the action? This script allows players to pick up their hat and/or glasses when they fall off. Inspired by the mechanic in RDR2, your character will never lose their style!
Pick It Back is a standalone script that offers a smooth experience for players, keeping them in character and ensuring their accessories are never left behind. Optimized and customizable, this script ensures minimal performance impact on your game while providing an invaluable feature
Features
- Pick up your dropped hat and glasses when they fall off your character
- Hat and glasses are networked, so you can also steal other players’ hats, but watch out, they can steal yours too
- Update checker with changelog if a new update is found directly in the console on resource start, except if
fivem-checker
is installed and running on your server - Optimized script: 0.00ms (0.00%) on idle and 0.02ms at max
- Debug mode for troubleshooting any issues with the resource
- Customizable localization and even more options that you can see in the config file below
Config file
The script is slightly configurable; check out the full config file:
-- Base
Config.PickUpDistance = 1.8 -- Distance for the player to be able to pick up an object (The default value is 1.8)
Config.AutoDelete = 600 -- Time in seconds before a dropped prop is automatically deleted (The default value is 600 aka 10 minutes)
Config.PreventIfAlreadyEquipped = true -- Prevent players from picking up hats/glasses if they already have one on (The default value is true)
Config.PreventItemPickupByGender = true -- Prevent players from picking up items if their character's gender does not match the item's designated gender (This is a short-term solution to avoid mismatch when picking up hats/glasses due to the game having different IDs per gender) (The default value is true)
Config.CompatibilityLayer = false -- Enable this if you're having any issues regarding hat/glasses in your other scripts (The default value is false)
-- Config.SendToAllPlayers = false -- [DEPRECATED] Should the event be sent to all players or only 'active' physical players known to the client? (I recommend setting this to false if you have a 30+ player server, but it may result in worse sync for far away players)
-- Interaction
Config.InteractionType = 'Default' -- 'Default' for DrawText3D method, 'Target' for Target scripts or 'Custom' to use 'custom_export.lua'
---- Default
Config.CommandTitle = 'Pick up prop' -- Key title in GTA 5 control settings
Config.CommandInputMapper = 'KEYBOARD' -- Input Mapper (https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/)
Config.CommandInputParameter = 'E' -- Input Parameter (https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/)
Config.InteractionDistance = 1.8 -- Maximum distance to show interaction text
Config.InteractionAngle = 10.0 -- Separation angle (in degrees) between props
Config.MaxInteractionAngle = 15.0 -- Maximum angle (in degrees) between camera direction and entity direction
---- Target
Config.TargetType = 'ox_target' -- The type of the target script you're using. Work with ox_target/qb-target/qtarget, even tho ox_target is recommended
Config.TargetName = 'ox_target' -- The name of the target script you're using. It should be the same as above if you haven't modified anything special about your target script
Config.TargetText = "Pick Up" -- The text
Config.Icon = 'fa-solid fa-hand' -- The target icon from font awesome (https://fontawesome.com/icons)
-- Misc
Config.Language = 'en' -- Currently Available: fr, en
Config.Debug = false -- If you think something is not working properly, you can set 'Config.Debug' to true. It will then print a lot of debug information in your console or above radar
Config.DebugDistance = 12.0 -- Maximum distance to show debug infos
Config.UpdateChecker = false -- Set to false if you don't want to check for resource update on start (No need to change this if you're using fivem-checker)
Config.ChangeLog = false -- Set to false if you don't want to display the changelog if new version is find (No need to change this if you're using fivem-checker)```
Showcase
Youtube video (if the above won’t load)
Purchase on Tebex
Get Pick It Back at 6.00 USD + tax on Tebex.
Requirements:
None, but there is compatibility with ox_target (recommended), qb-target, ContextMenu and qtarget
My other scripts
[STANDALONE] Sit Anywhere
[STANDALONE] Parkour Abilities
[STANDALONE] Better Tricks & Wheelies
Feel free to share your suggestions, and enjoy keeping your style intact in the heat of the moment
Code is accessible | No, only Config file |
Subscription-based | No |
Lines (approximately) | 890 |
Requirements | None |
Support | Yes |