17.08.2012, 13:00
Hey.
I have 2 questions about scripting.
Today I was making a command that spawns different objects.
I am spawning it like this:
And destroying it like this:
But object won't disappear. Where did I go wrong?
And, I wanna know if there is any function like SetPlayerPosFindZ but for objects because my objects spawn a little higher than the ground.
I have 2 questions about scripting.
Today I was making a command that spawns different objects.
I am spawning it like this:
Код:
barrier=CreateDynamicObject(979, x, y, z-0.5, 0.000000, 0.000000, angle);
Код:
DestroyDynamicObject(barrier);
And, I wanna know if there is any function like SetPlayerPosFindZ but for objects because my objects spawn a little higher than the ground.


