09.07.2014, 23:40
First:
No good, your first dimension is "2" and second is the amount of data inside those curly braces, which is clearly 4, therefore the second dimension is "4".
For the tag mismatch part:
Always check the wiki for documentation, there you are missing the "playerid" parameter! Also, you must make a separate array if you want to check for virtual worlds, or use floatround if you wish to use it like that!
Код:
new Float:Tests[0][2] = //x,y,z,World { {-540.75262, -122.25552, 71.17383,0}, {-521.55115, -130.04494, 71.17383,1}, }
For the tag mismatch part:
Код:
if(IsPlayerInRangeOfPoint(playerid,2.0,x,y,z) && GetPlayerVirtualWorld(Tests[0][3]))