SA-MP Forums Archive
Move object with command - 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: Move object with command (/showthread.php?tid=346085)



Move object with command - Jstylezzz - 27.05.2012

If you only look at the title, it seems a nooby question, but my question, is a little different than most people will think..

I saw in a ******* clip, that when you do a command, you can move the object attached to the player..
Now i wanted to ask, what function should i use for this?

I don't know where to start searching..


Re: Move object with command - Aira - 27.05.2012

https://sampwiki.blast.hk/wiki/SetObjectPos


Re: Move object with command - Jstylezzz - 27.05.2012

Quote:
Originally Posted by Aira
Посмотреть сообщение
Err, i don't mean this...
I know how to set an objects position, but, in the video you get bottons, that allow you to move it..
Like, you got a button X, to move it on the X-as, and a button Y, to move the Y-as, and so on..


Re: Move object with command - RoboN1X - 27.05.2012

Did you mean like:
https://sampwiki.blast.hk/wiki/EditObject
https://sampwiki.blast.hk/wiki/EditPlayerObject
https://sampwiki.blast.hk/wiki/EditAttachedObject


Re: Move object with command - ViniBorn - 27.05.2012

Find a FS called "attachments"


Re: Move object with command - mprofitt - 27.05.2012

https://sampwiki.blast.hk/wiki/MoveObject

This is the function you are looking for.


Re: Move object with command - Jonny5 - 27.05.2012

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Find a FS called "attachments"
this fs comes with samp and will be your best bet to look at ,

but to get what you want use EditObject(id);


Re: Move object with command - Jstylezzz - 28.05.2012

Yeah i ould use this one, thanks
Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Find a FS called "attachments"
MoveObject does something else than I need here, but thanks for trying to help ")
Quote:
Originally Posted by mprofitt
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/MoveObject

This is the function you are looking for.
These are the functions i am going to use, so i can create scratch things.. thanks
Quote:
Originally Posted by Robo_N1X
Посмотреть сообщение