11.08.2011, 22:20
pawn Код:
COMMAND:enter(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 290.7193,-1618.0544,33.1547))
{
SetPlayerPos(playerid, 246.2732,112.0255,1003.2188);
SetPlayerInterior(playerid, 10);
}
return 1;
}
COMMAND:exit(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 246.2732, 112.0255, 1003.2188))
{
SetPlayerPos(playerid, 290.7193, -1618.0544, 33.1547);
SetPlayerInterior(playerid, 0);
}
return 1;
}