What do I have to add here?
#1

Код:
MoveObject(gate, 980,2107.3999000,1384.5000000,12.5000000,0.0000000,0.0000000,180.0000000,3);
I get warnings, and I don't want warnings, I tried everything, I added time at the back ( the 3 one )
What am I missing here?
Reply
#2

You are using too long coordinates.

You just need the X, Y, Z and the move speed.

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

Quote:
Originally Posted by davve95
Посмотреть сообщение
You are using too long coordinates.

You just need the X, Y, Z and the move speed.

https://sampwiki.blast.hk/wiki/MoveObject
What about rotation? If I don't add rotation it will all be messed up
Reply
#4

I didn't knew if you needed them or I missed it.
Just check the link.

Edit: I saw one more thing:

You shouldn't have the object id you should
have it from that you declare.

Like:

new Object;

Object = CreateObject(id, x, y, z, stream distance);

MoveObject(Object, blababla);

It's explained on the Wiki though
Reply
#5

Fixed it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)