SA-MP Forums Archive
Problem with MoveObject in 0.3d client - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Problem with MoveObject in 0.3d client (/showthread.php?tid=301471)



Problem with MoveObject in 0.3d client[SOLVED] - Auris_A - 04.12.2011

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


Re: Problem with MoveObject in 0.3d client - Auris_A - 06.12.2011

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.


Re: Problem with MoveObject in 0.3d client - Westingham - 06.12.2011

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);



Re: Problem with MoveObject in 0.3d client - Auris_A - 07.12.2011

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


Re: Problem with MoveObject in 0.3d client - wups - 11.12.2011

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


Re: Problem with MoveObject in 0.3d client - KoczkaHUN - 20.02.2012

how did you exactly manage to solve the problem?