checking position
#4

First:
Код:
new Float:Tests[0][2] = //x,y,z,World
{
	{-540.75262, -122.25552, 71.17383,0},
	{-521.55115, -130.04494, 71.17383,1},
}
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:
Код:
if(IsPlayerInRangeOfPoint(playerid,2.0,x,y,z) && GetPlayerVirtualWorld(Tests[0][3]))
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!
Reply


Messages In This Thread
checking position - by SeniorGamer - 09.07.2014, 23:18
Re: checking points - by Ihateyou - 09.07.2014, 23:19
Re: checking position - by SeniorGamer - 09.07.2014, 23:20
Re: checking position - by Virtual1ty - 09.07.2014, 23:40
Re: checking position - by Ihateyou - 09.07.2014, 23:42
Re: checking position - by SeniorGamer - 09.07.2014, 23:44
Re: checking position - by Ihateyou - 09.07.2014, 23:47

Forum Jump:


Users browsing this thread: 1 Guest(s)