09.05.2011, 05:54
I keep falling through the interior on this /enter code,
I get into the interior and see the pickup for /exit but then fall through the interior and end up falling from the sky.
Код:
if(strcmp(cmdtext, "/enter", true, 6) == 0) { if(IsPlayerInRangeOfPoint(playerid, 3 , 2755.57, -1276.32, 56.59)) { SetPlayerInterior(1, playerid); SetPlayerPos(playerid, -2159.122802,641.517517,1052.381713); return 1; } } if(strcmp(cmdtext, "/exit", true, 6) == 0) { if(IsPlayerInRangeOfPoint(playerid, 3, -2159.122802,641.517517,1052.381713)) { SetPlayerInterior(0, playerid); SetPlayerPos(playerid, 2755.57, -1276.32, 56.59); return 1; } }