25.06.2012, 19:36
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/enter", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1352.1962,-1756.9938,13.5078))
SetPlayerPos(playerid, -25.7000,-90.1999,1004.2999);
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1778.0828,-1664.6692,14.4355))
SetPlayerPos(playerid, 493.4503,-21.9830,1000.6797);
// Do something here