Moving Object
#1

my codes:
Код:
public go()
{
     // ferry
    SetTimer("go",10000,0);
    MoveObject(ferry,4352.35547, -1945.35327, -11.71894,20.0);
    MoveObject(ferry1,4352.35547, -1945.35327, -11.71894,20.0);
    MoveObject(ferry2,4352.35547, -1945.35327, -11.71894,20.0);
    MoveObject(ferry3,4352.35547, -1945.35327, -11.71894,20.0);
    MoveObject(ferry4,4352.35547, -1945.35327, -11.71894,20.0);
    MoveObject(ferry5,4352.35547, -1945.35327, -11.71894,20.0);
    MoveObject(ferry6,4352.35547, -1945.35327, -11.71894,20.0);
    ferry = CreateObject(10771, 3058.71655, -1963.72046, -1.40431,   0.00000, 0.00000, 359.59393);
    ferry1 = CreateObject(4594, 3065.78198, -1965.16016, -11.98790,   0.00000, 0.00000, 269.08380);
    ferry2 = CreateObject(4594, 3094.81348, -1965.23743, -11.98790,   0.00000, 0.00000, 269.08380);
    ferry3 = CreateObject(4594, 3107.49756, -1965.39148, -11.98790,   0.00000, 0.00000, 269.08380);
    ferry4 = CreateObject(4594, 3021.63892, -1959.92749, -11.98790,   0.00000, 0.00000, 269.08380);
    ferry5 = CreateObject(4594, 2986.89233, -1963.24744, -11.98790,   0.00000, 0.00000, 269.08380);
    ferry6 = CreateObject(10829, 3089.99243, -1972.74109, 10.05458,   0.00000, 0.00000, 269.29483);
    SendClientMessageToAll(-1,"ferry is going to island");
	return 1;
}
there is a bug... I can't see the objects / sendclientmessage in the server.

Also i want something like this: this ferry will go after staying 2 mins... and it should go slow... and it will come back after 2 mins.

and the codes:
Код:
forward go();
Код:
new ferry,ferry1,ferry2,ferry3,ferry4,ferry5,ferry6;
Reply


Messages In This Thread
Moving Object - by Tuntun - 08.06.2014, 09:15
Re: Moving Object - by Tuntun - 08.06.2014, 10:04
Re: Moving Object - by ball - 08.06.2014, 10:04
Re: Moving Object - by Tuntun - 08.06.2014, 10:47
Re: Moving Object - by Tuntun - 08.06.2014, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)