Help with aimbot
I fixed the error with nexcat help
*My paste doesn't work someone help fix it for me!!1!!1
The Get3DDistance function takes one argument, Index. If i'm right, the distancetoP is getting the distance to the person, so, if you're looping through all the entities in Index, use Get3DDistance( Index );. Vectors are 3 coordinates, an x y and a z, thats not an int, so why are you trying to use it as an int.
I dont say its not copy pasted but I edited it and try to learn from it