20.11.2009, 22:19
I tried this:
Problem: It lets me teleport to the coords wherever I am, I want it to only let me once I'm at the stadium.
Anyone know how to solve this?
EDIT: Fixed!
Код:
{ if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) SendClientMessage(playerid,0xFFFFFFFF,"You are near the Stadium entrance!"); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1970.3921, -1276.3458, 23.9908); return 1; }
Anyone know how to solve this?

EDIT: Fixed!