system need fix
#1

Hello, they should have an explanation for taxi system should calculate the money that passed km

me system


Код:
			new Float:Viet[2][3];
			GetPlayerPos(playerid,Viet[0][0],Viet[0][1],Viet[0][2]);
			Viet[1][0] = taxiDB[playerid][Start][0];
			Viet[1][1] = taxiDB[playerid][Start][1];
			Viet[1][2] = taxiDB[playerid][Start][2];

   			new pay = ((floatround(floatabs(Viet[0][0]-Viet[1][0]))+floatround(floatabs(Viet[0][1]-Viet[1][1]))+floatround(floatabs(Viet[0][2]-Viet[1][2]))))/5;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)