Move object with command
#1

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..
Reply
#2

https://sampwiki.blast.hk/wiki/SetObjectPos
Reply
#3

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..
Reply
#4

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

Find a FS called "attachments"
Reply
#6

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

This is the function you are looking for.
Reply
#7

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);
Reply
#8

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)