To add or remove items that represent trash and should be collected, you can edit them in the ITEMS section of the steetTrash table.
GTA V props hashes website: https://forge.plebmasters.de
There are three types of elements:
1 - Items that are picked up directly (such as garbage bags) and put into the truck.
2 - Items where an action is performed and a garbage bag is retrieved (e.g. waste garbage cans).
3 - Items that are containers
Elements type 1 (like garbage bag)
The data structure is as follows:
[-1738103333] = { -- prop_barrel_01a
isBin = false,
isDumpster = false,
x = 0.0,
y = 0.4,
z = -0.5
},
-1738103333 is the model hash
isBin it must be in false since it is not a waste garbage can
isDumpster should be set to false since it is not a dumpster
x, y, z with this you can adjust the position of the prop in relation to the player's body
Elements type 2 (like waste garbage cans)
The data structure is as follows:
[1437508529] = { -- prop_bin_01a
isBin = true,
isDumpster = false
},
1437508529 is the model hash
isBin must be in true since it is a garbage can
isDumpster should be set to false since it is not a dumpster
In this case it is not necessary to apply any coordinates for the prop
Elements type 3 (like containers)
[218085040] = { -- prop_dumpster_01a
isBin = false,
isDumpster = true,
x = 0.00,
y = 0.78,
z = -1.00,
rotX = 180.0,
rotY = 180.0,
rotZ = 0.0
},
218085040 is the model hash
isBin it must be in false since it is not a waste garbage can
isDumpster must be in certain since it is a dumpster
x, y, z with this you can adjust the position of the prop in relation to the player's body.
rotX, rotY, rotZ with it you can adjust the prop rotation in relation to its own axis.