Help with roadblock CMD
#1

Hello, I am trying to edit this to where it removes the Barricade and put a cone in it's place, I just cant make the cone spawn at my feet when you place it the cone spawns near where the players head it.

Thanks.

Код:
            BarricadeData[i][cadeObject] = CreateDynamicObject(981, fX, fY, fZ, 0.0, 0.0, fA);
Reply
#2

Lower the z-pos.
Код:
BarricadeData[i][cadeObject] = CreateDynamicObject(981, fX, fY, fZ - 0.5, 0.0, 0.0, fA);
Adjust the number in red, till you are satisfied. I'd suggest using Edit(Player)Object and OnPlayerEditObject to find the value in red easily.
Reply
#3

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)