Lets say I wanted to place an object on a vehicle, how would I find the coordinates to attachthe object to vehicle? Like say i wanted to put an object on the back windshield/glass how would i find the coords
Not every location coordinates can be known using this function, however the most common ones can be known. The rest you could do by retrieving the range of position using the function and then doing your own calculation to get it into the point you want. https://sampwiki.blast.hk/wiki/GetVehicleModelInfo