Need help for coords for a moving gate
#1

This is my gate code.

Код:
	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;
	}
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?
Reply
#2

Just use SAMP's /save feature, near the left of the gate, to get a approximate location for it (open)
Reply
#3

What funky said try this, I didn't tested it though.

1034.46203613, 1183.29357910, 12.45144653
Reply
#4

use MTA and place gate where do u want them to be open and just copy coords
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)