01.07.2012, 18:43
PHP код:
if(strcmp(cmd, "/exit", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,3.0, 377.1972,-192.5130,1002.5086)) //Donuts Shop
{
SetPlayerPos(playerid, 1037.9946,-1339.8110,13.7266);
}
if(IsPlayerInRangeOfPoint(playerid,3.0,1546.6072,-1366.2124,326.2109)) //Parachute
{
SetPlayerPos(playerid, 1569.7756,-1334.0330,16.4844);
}
if(IsPlayerInRangeOfPoint(playerid,3.0,238.8796,139.4095,1004.2648)) //FBI
{
SetPlayerPos(playerid,1778.0828,-1664.6692,14.4355);
}
return 1;
}