This is a very simple and basic dumpster diving resource that is for QBCore servers (Old / New).
Features
- Ability to change prop models
- Add / Remove items that you wish to be found
- Based on a chance system that is configurable
- Open Source
- Allows you to configure the small trash bins to have different items from the bigger dumpsters
Dependencies
Preview Video
Download
|
|
| Code is accessible |
Yes |
| Subscription-based |
No |
| Lines (approximately) |
265 Total |
| Requirements |
QBCore |
| Support |
Yes |
9 Likes
would probably be nice if you credited where a lot of this code came from. Probably should update from using outdated methods from a two year old script though. GitHub - murayuki/onyxDumpsters: Searching dumpsters in FiveM / ESX Framework.
1 Like
Wait , so you wrote this code on you live stream ?
Why are using GetPlayerPed(-1) ? Why are u using GetDistanceBetweenCoords() ? Damn man, stop to steal outdated codes and pretend that you wrote it… Outdated code as hell , just changed couple variable names…
1 Like
GetDistanceBetweenCoords - FiveM Natives @ Cfx.re Docs
Returns the distance between two three-dimensional points, optionally ignoring the Z values. If useZ is false, only the 2D plane (X-Y) will be considered for calculating the distance. Consider using this faster native instead: SYSTEM::VDIST - DVIST always takes in consideration the 3D coordinates.
to answer your statement about GetPlayerPed is legit the same as doing PlayerPedId
I could also say the same about you stealing Jims code to make portable chairs
calm yourself, there is no need to be so hateful.
He wrote it himself and there is no reason to believe otherwise, your just hating for the sake of hating, smh.
Anyway, looks like a cool release 
2 Likes