30.09.2010, 02:56
Im trying to create a teleport so when you walk up to a door it teleports you to another location that I created. But its not working, here is what I got.
Код:
public MyTeleportToInterior(playerid) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 2737.0888671875, -2799.9736328125, 23.703699111938)) { SetPlayerPos(playerid, 2738.8181152344, -2875.5883789063, 308.98538208008); return 1; } if(IsPlayerInRangeOfPoint(playerid, 3.0, 2738.8181152344, -2871.5883789063, 308.98538208008)) { SetPlayerPos(playerid, 2737.0888671875, -2805.9736328125, 23.703699111938); return 1; } return 1; }