02.04.2012, 21:58
pawn Код:
CMD:closegate(playerid, params[])
{
If(!IsPlayerInRangeOfPoint(playerid,10,0,0,0)) return SendClientMessage(playerid, 0xFF8000FF, "to far away.");//change to the gates position !
MoveObject(lspdgate1, 1550.80004883,-1627.59997559,15.19999981, 1);
SendClientMessage(playerid, 0xFF8000FF, "The gate is closed.");
}