31.10.2012, 11:56
Hi,
i use function:
But when i print distance i get 0.000000.
i use function:
Код:
new Float:DISTANCE; GetPlayerPos(playerid, SavePos[ playerid ][ 0 ], SavePos[ playerid ][ 1 ], SavePos[ playerid ][ 2 ]); for(ivh= 1; ivh < MAX_VEHICLES; ivh ++) { DISTANCE = GetVehicleDistanceFromPoint(ivh, SavePos[ playerid ][ 0 ], SavePos[ playerid ][ 1 ], SavePos[ playerid ][ 2 ]); }