Moving Objects?
#1

Evening. I have the following object streamed to the server using Incognito's Streamer Plugin. It's not a streaming issue, it's a moving issue.



Can I "move" those objects, or not?
Reply
#2

Isnt this simply possible with MoveDynamicObject or SetDynamicObjectRot, or did I get wrong what you want to do?
Reply
#3

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
Isnt this simply possible with MoveDynamicObject or SetDynamicObjectRot, or did I get wrong what you want to do?
It is, but the darn thing doesn't budge. I know I got the coordinates correct and what not...
Reply
#4

Unstream it then move it. good rdidance
Reply
#5

I tried moving it to 99.999, 99.999, 99.999 and 0.0, 0.0, 0.0; it didn't do anything. It's using the classic "CreateObject" and "MoveObject" right now.
Reply
#6

Possible SAMP bug..? - I highly doubt; but that's the only thing I can think of.
Reply
#7

Maybe you forgot "speed"?

Код:
MoveObject(objectid, Float: x, Float: y, Float: z, Float: speed)
But if also can't use SetObjectPos ... :/
Reply
#8

For what it's worth, this is my code:

pawn Код:
SFPD[0] = CreateObject(968,-1572.20361328,658.78552246,6.76437235,0.00000000,89.49993896,90.25003052);
MoveObject(SFPD[0], -1572.20312500, 658.78515625, 6.76437235, 2.0);
Reply
#9

Try making the speed quicker? I don't think it would change anything, but it's worth a try.
Reply
#10

those coordinates (-1572,658,6) are for the other barrier, at the bottom entrance, and the moving target equals them - so you wont see any difference. i guess your barrier at the top has coords like -1701,687,24
are you sure you posted the proper lines? since your picture shows the other barrier, the coords are definetly not the same ^^
edit: i spotted your coords for the barriers:
Код:
	//Top Barrier Closed
	Test[0]=CreateObject(968,-1701.4300,687.7495,24.7500,0.0000,90.0000,-90.0000,100);
	//Top Barrier Opened
	Test[1]=CreateObject(968,-1701.4300,687.7495,24.7500,0.0000,0.0000,-90.0000,100);
	//Bottom Barrier Closed
	Test[2]=CreateObject(968,1572.2010,658.6796,6.9500,0.0000,90.0000,-90.0000,100);
	//Bottom Barrier Opened
	Test[2]=CreateObject(968,1572.2010,658.6796,6.9500,0.0000,0.0000,-90.0000,100);
edit: those euler angles DRIVES ME NUTS!!! D:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)