05.03.2017, 12:50
Nevermind. I think I found the problem. You've mixed out your minx and maxx in your function.
IsPlayerInArea(playerid, 1946.4427, 1908.5669, -1761.9777, -1792.7344);
change that to
IsPlayerInArea(playerid, 1908.5669, 1946.4427, -1792.7344, -1761.9777);
It is important that minx isn't smaller than maxx, otherwise it will fail.
IsPlayerInArea(playerid, 1946.4427, 1908.5669, -1761.9777, -1792.7344);
change that to
IsPlayerInArea(playerid, 1908.5669, 1946.4427, -1792.7344, -1761.9777);
It is important that minx isn't smaller than maxx, otherwise it will fail.

