SA-MP Forums Archive
Moving an attached object - 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: Moving an attached object (/showthread.php?tid=614345)



Moving an attached object - Ahmed21 - 07.08.2016

Hello everyone, so my problem in life is moving an attached object.

I've made a safe, and attached a safe door on it. I made a command, to move the safe door, I tried it many times, but it doesn't move. Its position changes, but as I see, my eyes say it didn't move.

I mean, when I use a command to check if I'm close to any safe door, before moving it, it says I'm next to a safe door, when I move it using a command, it says: you are not close to any safe door.

So, can someone explain me wtf is this please? I'm seriously lost.


Re: Moving an attached object - Ahmed21 - 07.08.2016

Help?


Re: Moving an attached object - AndySedeyn - 07.08.2016

Are you creating the object twice? If that's not it, could you post a bit of your code?