
Originally Posted by
Eclipse
Hello, if anyone would be able to help me I would appreciate it
So theres the code, im not exactly sure what its doing all I know is its detecting items in game, is there anywhere in this code im able to disable certain items? Or does it scan for all items. Also if anyone has item ESP source code for PUBG I would <3 you forever.
i dont personally know anything about PUBG, so...
i also don't know what you're asking. looks like you're trying to say that you don't know c/c++ and dont know what that code is doing.
the code is creating a few variables. the two used datatypes are a DWORD pointer and a 3D Vector (which is used as a coordinate, not a vector).
(pointer to dropped item group A) pADroppedItemGroup's value is achieved by reading the memory of PUBG. specifically, an offset from DroppedItemGroupArray. it's basically just checking to see it's group identity.
(screen location) screenloc just gets the location of your view (think of your head in game) by taking some previously found information from relative+pADroppedItemGroup. this is just for DRAWING, not actually relevant rn.
now if you mean disable the item from use, i'm sure you could investigate the weapon structure in game and see if there's something you can do to disable it. if you've seen it in other cheats commonly, it's probably easy to find what address you need to write to to disable it by looking at their sources. if you haven't and are trying to make something new, I doubt it exists - granted i havent look at the structure myself.
now if you mean disabling the item from being drawn, just take a look at what you're reading. item string and item name are likely going to be unique for every weapon, create a filter list before drawing it.
black list it (if item is !ak&&!glock, draw) or whitelist it (if item is m4||deagle, draw). you'll have to look at the return values from what you're reading.
if you're trying to disable drawing weapons with certain subactives (like silencer or something), then i don't think you're able to with just the code you've provided. you'll have to look through the weapon structure (pUItem specifically) to see if there's something that shows subactives. same logic as before, make a filter list before drawing.