The function that should get X, Y, Z coordinates of the vehicle does not work, as many of you may noticed. Instead of this, GetVehiclePos gets X, Y, Z coordinates of vehicle spawnpoint. It's just a bug report to VCMP developers. And, yeah, if you use this function to write a code of locking/unlocking car, you should declare new variables in which you will store player coordinates, given in OnPlayerLeaveVehicle.