Problem with MoveObject in 0.3d client
#1

Hey, i have problem with MoveObject, in 0.3c client this worked fine with no problem, but when i changed server version to 0.3d, it's moving like this.

1 picture. http://www.part.lt/img/9e830340d899b...c83b8f9228.png

2. and... http://www.part.lt/img/d882ae190a6ea...eb0a864952.png

3. And then i closing gates. http://www.part.lt/img/70a2c1f1d46d4...06d43e2493.png

It's happening for all gates. Gates script:

Код:
if(playerDB[playerid][specialybe]==50 || playerDB[playerid][admin] || playerDB[playerid][superadmin])
	   	{
	   	if (!strcmp("/Asz", cmdtext, true)) return MoveObject(sz, 1812.8317871094, -2071.8977050781, 9.600828170776, 3);
	   	if (!strcmp("/usz", cmdtext, true)) return MoveObject(sz, 1812.8317871094, -2071.8977050781, 13.600828170776, 3);
        }

sz = CreateObject(980, 1812.8317871094, -2071.8977050781, 13.600828170776, 0, 0, 90);
Please help me. And sorry for my bad English
Reply
#2

Bump, i really need help. Here some videos (VIDEOS ARE NOT MINE)

[ame]http://www.youtube.com/watch?v=lOakUxee1H0&feature=related[/ame]

[ame]http://www.youtube.com/watch?v=B_mfSKqM-Qc&feature=related[/ame]

All includes are updated to 0.3d.
Reply
#3

Looks like you may need to input some rotational values after the movement speed.

Here's an example from the streamer plugin (https://sampforum.blast.hk/showthread.php?tid=102865):
Код:
MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed, Float:rx, Float:ry, Float:rz);
Reply
#4

Thanks for helping, i will try it, and i will edit here, if the problem is solved

EDIT: Problem is solved.
I recompiled my streamer ;P

Thanks streetGT
Reply
#5

Confirmed. How did you manage to fix it with the streamer, when you were using non-streamed objects?
Reply
#6

how did you exactly manage to solve the problem?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)