18.11.2016, 13:13
I receive tag mismatch warning on the line:
above lines:
stock:
Код HTML:
Distance[3] = GetDistanceBetweenPoints(Positionx[0],Positionx[1], Positionx[2], -1417.0,-295.8,14.1);
Код HTML:
new Float: Positionx[5]; new string1[256]; GetPlayerPos(playerid, Positionx[0], Positionx[1], Positionx[2]);
Код HTML:
stock Float: GetDistanceBetweenPoints(Float:posx1,Float:posy1,Float:posz1,Float:posx2,Float:posy2,Float:posz2) { return floatsqroot(floatpower(floatabs(floatsub(posx2,posx1)),2)+floatpower(floatabs(floatsub(posy2,posy1)),2)+floatpower(floatabs(floatsub(posz2,posz1)),2)); }