SA-MP Forums Archive
MoveDynamicObject Rotation Happens Only After ALT+TAB - 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: MoveDynamicObject Rotation Happens Only After ALT+TAB (/showthread.php?tid=633652)



MoveDynamicObject Rotation Happens Only After ALT+TAB - CarlosK - 05.05.2017

So I have this problem where I'm trying to rotate a dynamic object with MoveDynamicObject(),but the object doesn't rotate until I switch to another application (ALT+TAB), any idea why?

*P.S: I used MoveDynamicObject correctly, in other conditions it would rotate, but in the conditions in which I'm implementing the rotation it wouldn't.

Your help will be much appreciated


Re: MoveDynamicObject Rotation Happens Only After ALT+TAB - ShihabSoft - 05.05.2017

Try Streamer_Update(playerid) to force any streamer dynamic changes to be reflected in client, without the need of client to move around.


Re: MoveDynamicObject Rotation Happens Only After ALT+TAB - CarlosK - 05.05.2017

Sorry for not posting an edit, but I got it fixed, after posting the thread I ran an even deeper search and found in old forums that the value I'm giving for speed (0.0001) Wouldn't work because it's too small, so I changed it to 0.01 and solved the problem.

But thanks for your help, I appreciate it