sequence
#1

Well, what i need is to help me some expert as i can make a sequence of positions for example to move this object:

Код:
new Float:DrivePoints[][3] = {
{1958.3783,1343.1572,15.3746},//1
{2199.6531,1393.3678,10.8203},//2
{2483.5977,1222.0825,10.8203},//3
{2637.2712,1129.2743,11.1797},//4
{2000.0106,1521.1111,17.0625},//5
{2024.8190,1917.9425,12.3386},//6
{2261.9048,2035.9547,10.8203},//7
{2262.0986,2398.6572,10.8203},//8
{2244.2566,2523.7280,10.8203},//9
{2335.3228,2786.4478,10.8203},//10
{2150.0186,2734.2297,11.1763},//11
{2158.0811,2797.5488,10.8203},//12
{1969.8301,2722.8564,10.8203},//13
{1652.0555,2709.4072,10.8265},//14
{1564.0052,2756.9463,10.8203},//15
{1271.5452,2554.0227,10.8203},//16
{1441.5894,2567.9099,10.8203},//17
{1480.6473,2213.5718,11.0234},//18
{1400.5906,2225.6960,11.0234},//19
{1598.8419,2221.5676,11.0625},//20
{1318.7759,1251.3580,10.8203},//21
{1558.0731,1007.8292,10.8125}//22
};

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/move", cmdtext, true, 10) == 0)
	{
		MoveObject(objectid,?,?,?,6);
		return 1;
	}
	return 0;
}
My problem is how I can do to tour the positions marked one by one and start again
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)