Toll Booth gates
#1

okay I am making a command for gate to go up but what do i change so I it's open position is at a 90 degree angle

pawn Код:
GetDynamicObjectPos(TBG, Positions[1][0], Positions[1][1], Positions[1][2]);
  GetDynamicObjectPos(TBG2, Positions[4][0], Positions[4][1], Positions[4][2]);
Reply
#2

There's about a million tutorials on this, just go have a look at some tutorials in the tutorial section
Reply
#3

I would recommend using the "MoveDynamicObject" Function given that you have the "Dynamic Objects".
If you were simply using the "AddStaticObject" or "CreateObject" you would have to use the "MoveObject" function.
Here is a link to the wiki: https://sampwiki.blast.hk/wiki/MoveObject
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)