SA-MP Forums Archive
Help with MoveObject [+REP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with MoveObject [+REP] (/showthread.php?tid=491713)



Help with MoveObject [+REP] - Jing_Chan - 31.01.2014

Hi,
I can't seem to understand why my moving object is not working. It is meant to rotate but it just flies off into its own world, here is the two co-ordinates given:

CLOSED: CreateObject(968,35.1000000,-1525.5000000,5.0000000,0.0000000,270.0000000,264.0 000000); //object(barrierturn) (1)

OPEN: CreateObject(968,35.1000000,-1525.5000000,5.0000000,0.0000000,340.0000000,264.0 000000); //object(barrierturn) (1)

Can somebody help me with the MoveObject? I want it to go from closed to open.


Re: Help with MoveObject [+REP] - Sawalha - 31.01.2014

Where do you put them? and do they open and close right - left, or up - down?


Re: Help with MoveObject [+REP] - Jing_Chan - 31.01.2014

Left - right.


Re: Help with MoveObject [+REP] - nmader - 31.01.2014

Could you please your MoveObject code?


Re: Help with MoveObject [+REP] - Jing_Chan - 31.01.2014

pawn Код:
MoveObject(Gate1, 35.1000000,-1525.5000000,340.0000000, 3); //object(barrierturn) (1));
it's wrong


Re: Help with MoveObject [+REP] - Equuuuin0X - 31.01.2014

try to put it as CreateDynamicObject


Re: Help with MoveObject [+REP] - Kenrque - 31.01.2014

MoveObject(968,35.1000000,-1525.5000000,5.0000000,0.0000000,340.0000000,264.0 000000); ??
and set timer for close.


Re: Help with MoveObject [+REP] - Jing_Chan - 31.01.2014

Quote:
Originally Posted by Kenrque
Посмотреть сообщение
MoveObject(968,35.1000000,-1525.5000000,5.0000000,0.0000000,340.0000000,264.0 000000); ??
and set timer for close.
It flew off.


Re: Help with MoveObject [+REP] - Jing_Chan - 31.01.2014

Anybody?