[Help] Of cell +1 REP
#1

I'm want cell in this map can open/close, any body help me of this ??
Reply
#2

Use MoveObject
Reply
#3

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
Use MoveObject
How to use that, can you make me a eg ??
Reply
#4

pawn Код:
Cell1 = CreateObject(14464,200,200,3,0.00000000,0.00000000,0.00000000);
MoveObject(Cell1,205/*New Pos X*/,205/*New Pos Y*/,5/*New Pos Z*/,3/*Move speed*/);
For further documentation: https://sampwiki.blast.hk/wiki/MoveObject
Reply
#5

Quote:
Originally Posted by reckst4r
Посмотреть сообщение
pawn Код:
Cell1 = CreateObject(14464,200,200,3,0.00000000,0.00000000,0.00000000);
MoveObject(Cell1,205/*New Pos X*/,205/*New Pos Y*/,5/*New Pos Z*/,3/*Move speed*/);
For further documentation: https://sampwiki.blast.hk/wiki/MoveObject
Can you make this easy ?? and how to find cell
Reply
#6

Yes, it's quite easy. Simply make an object like I did in the example "Cell1 = CreateObject(....)", and move it with "MoveObject(Name(In the example it was Cell1),x,y,z,speed)". You can easily put this under a command, or a function.

Quote:
Originally Posted by DuongNghia
Посмотреть сообщение
and how to find cell
I'm not exactly sure what you mean. The cell is where you place it with CreateObject, and it will be moved to the position you specify in MoveObject
Reply
#7

Quote:
Originally Posted by reckst4r
Посмотреть сообщение
Yes, it's quite easy. Simply make an object like I did in the example "Cell1 = CreateObject(....)", and move it with "MoveObject(Name(In the example it was Cell1),x,y,z,speed)". You can easily put this under a command, or a function.


I'm not exactly sure what you mean. The cell is where you place it with CreateObject, and it will be moved to the position you specify in MoveObject
Can you make i't for me ?? This code
Reply
#8

The code for that interior & for the cells is right below the video.
Reply
#9

Quote:
Originally Posted by reckst4r
Посмотреть сообщение
pawn Код:
Cell1 = CreateObject(14464,200,200,3,0.00000000,0.00000000,0.00000000);
MoveObject(Cell1,205/*New Pos X*/,205/*New Pos Y*/,5/*New Pos Z*/,3/*Move speed*/);
For further documentation: https://sampwiki.blast.hk/wiki/MoveObject
Add what line ??
Reply
#10

We're not your scripting Puppets like if you want anything you just Demand it and we'll create it for you
We're here just to guide you and get you own the way!
Help you with the errors and Help you get going!
This is probably the best documentation you can find about "What you're looking for"
https://sampwiki.blast.hk/wiki/MoveObject
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)