09.07.2014, 23:18
what is the best way to check for IsPlayerInRangeOfPoint if you have many coordinates?
I tried with
And then using
but it says tag missmatch. the 4th one is for this
but me gets
I tried with
Код:
new Float:Tests[0][2] = //x,y,z,World { {-540.75262, -122.25552, 71.17383,0}, {-521.55115, -130.04494, 71.17383,1}, }
Код:
if(IsPlayerInRangeOfPoint(playerid,2.0,Tests[0][0],Tests[0][1],Tests[0][2]))
Код:
if(IsPlayerInRangeOfPoint(playerid,2.0,Tests[0][0],Tests[0][1],Tests[0][2]) && GetPlayerVirtualWorld(Tests[0][3]))
Код:
warning 213: tag mismatch