18.08.2010, 19:15
This is my gate code.
I have the gate where I want it and I physically can see it but I'm not sure how to get coors for it to move to the left because when I type /gate it doesn't go anywhere. How would I go about getting the coords to put in so it'll open and I type /gate?
Код:
else if(IsPlayerInRangeOfPoint(playerid, 12.0, 1027.46203613, 1183.29357910, 12.45144653))
{ //FBI GATE
if(!(PlayerInfo[playerid][pMember] == 2)) return SendClientMessage(playerid,COLOR_GREY," You are not a member of the FBI !");
if(fbigateopen == 0)
{
fbigateopen = 1;
MoveObject(FBIGate,);
}
else
{
fbigateopen = 0;
MoveObject(FBIGate, );
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not near a gate !");
return 1;
}
return 1;
}

