Distance :)
#2

Last line:

Code:
GetVehiclePos( GetPlayerVehicleID( playerid ), vPOS[ playerid ][ 0 ], vPOS[ playerid ][ 1 ], vPOS[ playerid ][ 1 ] );
Should be

Code:
GetVehiclePos( GetPlayerVehicleID( playerid ), vPOS[ playerid ][ 0 ], vPOS[ playerid ][ 1 ], vPOS[ playerid ][ 2 ] );
You used the Y slot for the Z coordinate too.



PS: Use the method sscarface said, it's clearly better.
Reply


Messages In This Thread
Distance :) - by audriuxxx - 25.02.2013, 09:46
AW: Distance :) - by NaS - 25.02.2013, 09:55
Re: Distance :) - by sscarface - 25.02.2013, 09:56
Re: Distance :) - by Babul - 25.02.2013, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)