Tag mismatch
#1

I receive tag mismatch warning on the line:

Код HTML:
Distance[3] = GetDistanceBetweenPoints(Positionx[0],Positionx[1], Positionx[2], -1417.0,-295.8,14.1);
above lines:

Код HTML:
new Float: Positionx[5];
new string1[256];
GetPlayerPos(playerid, Positionx[0], Positionx[1], Positionx[2]);
stock:
Код 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));
}
Reply


Messages In This Thread
Tag mismatch - by Nin9r - 18.11.2016, 13:13
Re: Tag mismatch - by GoldenLion - 18.11.2016, 13:20
Re: Tag mismatch - by Nin9r - 18.11.2016, 13:31

Forum Jump:


Users browsing this thread: 1 Guest(s)