16.02.2014, 07:51
pawn Код:
public OnPlayerCommandText
{
dcmd(lift, 4, cmdtext);
return 1;
}
dcmd_lift(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 50, -2464.9296875,1522.9167480469,27.570457458496))
{
MoveObject(boatlift,-2464.9296875,1522.9167480469,27.570457458496, 2.0);
SetTimer("gate1",35000,false);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_DARKORANGE, "You Are Not Close Enough To The Lift(San Fierro Freight Boat)");
return 1;
}
return 0;
}