29.06.2013, 19:48
Yeah i found that right when ****** posted that.
Now its something weird.
Im using this function to determine the distance between two points then floatrounding it into an integer and timing it by two. For some reason it keeps equaling zero.
Now its something weird.
Im using this function to determine the distance between two points then floatrounding it into an integer and timing it by two. For some reason it keeps equaling zero.
pawn Код:
new Float:Distance = GetDistanceBetweenPoints(mInfo[playerid][Fx],mInfo[playerid][Fy],mInfo[playerid][Fz],mInfo[playerid][Lx],mInfo[playerid][Ly],mInfo[playerid][Lz]);
new mPay = floatround(Distance);
mPay = mPay * 2;
mInfo[playerid][Pay] = mPay;

